Skip to content

Commit 253d3c4

Browse files
sean-r-williamsalerickson
authored andcommitted
enable isJFrogRepo flag for domains containing artifactory (#1532)
1 parent b240b2b commit 253d3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code/V2ServerAPICalls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public V2ServerAPICalls (PSRepositoryInfo repository, PSCmdlet cmdletPassedIn, N
6060
_sessionClient.DefaultRequestHeaders.TryAddWithoutValidation("User-Agent", userAgentString);
6161
var repoURL = repository.Uri.ToString().ToLower();
6262
_isADORepo = repoURL.Contains("pkgs.dev.azure.com") || repoURL.Contains("pkgs.visualstudio.com");
63-
_isJFrogRepo = repoURL.Contains("jfrog");
63+
_isJFrogRepo = repoURL.Contains("jfrog") || repoURL.Contains("artifactory");
6464
_isPSGalleryRepo = repoURL.Contains("powershellgallery.com/api/v2");
6565
}
6666

0 commit comments

Comments
 (0)