Skip to content

Commit

Permalink
Replace both common path separators
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussell committed Feb 3, 2025
1 parent fb9acdb commit 64409ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public void VerifyInternalDockerfilesOutput()
string GetDiscriminator(string dockerfilePath) =>
dockerfilePath
.Remove(0, dockerfilesOutputDirectory.Length + 1)
.Replace('/', '-')
.Replace('\\', '-');

Action<ShouldMatchConfigurationBuilder> Configure(string dockerfilePath) =>
Expand Down

0 comments on commit 64409ec

Please sign in to comment.