We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2791bb commit 92f3d5bCopy full SHA for 92f3d5b
src/GitVersion.App/GitVersionExecutor.cs
@@ -57,7 +57,7 @@ public int Execute(GitVersionOptions gitVersionOptions)
57
58
private int RunGitVersionTool(GitVersionOptions gitVersionOptions)
59
{
60
- var mutexName = gitVersionOptions.WorkingDirectory.Replace("\\", "");
+ var mutexName = gitVersionOptions.WorkingDirectory.Replace(Path.DirectorySeparatorChar.ToString(), "");
61
using var mutex = new Mutex(true, $@"Global\{mutexName}", out var acquired);
62
63
try
0 commit comments