File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -862,7 +862,7 @@ private static PSRepositoryInfo.APIVersion GetRepoAPIVersion(Uri repoUri)
862
862
// repositories with Uri Scheme "temp" may have PSPath Uri's like: "Temp:\repo" and we should consider them as local repositories.
863
863
return PSRepositoryInfo . APIVersion . Local ;
864
864
}
865
- else if ( repoUri . AbsoluteUri . EndsWith ( ".azurecr.io" ) || repoUri . AbsoluteUri . EndsWith ( ".azurecr.io/" ) || repoUri . AbsoluteUri . Contains ( "mcr.microsoft.com" ) || repoUri . AbsoluteUri . Contains ( "mcr.microsoft.com/" ) )
865
+ else if ( repoUri . AbsoluteUri . EndsWith ( ".azurecr.io" ) || repoUri . AbsoluteUri . EndsWith ( ".azurecr.io/" ) || repoUri . AbsoluteUri . Contains ( "mcr.microsoft.com" ) )
866
866
{
867
867
return PSRepositoryInfo . APIVersion . ContainerRegistry ;
868
868
}
You can’t perform that action at this time.
0 commit comments