We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68eedfd commit 23a13c0Copy full SHA for 23a13c0
src/code/PSRepositoryInfo.cs
@@ -104,7 +104,7 @@ public enum RepositoryProviderType
104
105
internal bool IsMARRepository()
106
{
107
- return (ApiVersion == APIVersion.ContainerRegistry && Uri.Host.Contains("mcr.microsoft.com"));
+ return (ApiVersion == APIVersion.ContainerRegistry && Uri.Host.StartsWith("mcr.microsoft") );
108
}
109
110
#endregion
0 commit comments