Skip to content

Commit d83ffee

Browse files
authored
Fix error in parsing default library (#164)
1 parent a2bfed5 commit d83ffee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static (string, string) SplitDockerDomain(string name)
116116
domain = DEFAULTDOMAIN;
117117
}
118118

119-
if (domain == DEFAULTDOMAIN && reminder.IndexOf('/') != -1)
119+
if (domain == DEFAULTDOMAIN && reminder.IndexOf('/') == -1)
120120
{
121121
reminder = $"{OFFICIALREPOSITORYNAME}/{reminder}";
122122
}

0 commit comments

Comments
 (0)