Skip to content

Commit f8a1828

Browse files
authored
fix(codecatalyst): integ repos are not third-party #3273
1 parent f913f98 commit f8a1828

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/shared/clients/codecatalystClient.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,9 @@ export async function isThirdPartyRepo(
750750
codeCatalystRepo: GetSourceRepositoryCloneUrlsRequest
751751
): Promise<boolean> {
752752
const url = await client.getRepoCloneUrl(codeCatalystRepo)
753-
// TODO: Make more robust to work with gamma once getCodeCatalystConfig()
754-
// can provide a valid hostname
755-
return !Uri.parse(url).authority.endsWith('codecatalyst.aws')
753+
// TODO: Make more robust to work with getCodeCatalystConfig().
754+
return (
755+
!Uri.parse(url).authority.endsWith('codecatalyst.aws') &&
756+
!Uri.parse(url).authority.endsWith('caws.dev-tools.aws.dev')
757+
)
756758
}

0 commit comments

Comments
 (0)