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 5d666ae commit 8b60fcbCopy full SHA for 8b60fcb
src/NerdBank.GitVersioning.Tests/TestUtilities.cs
@@ -36,6 +36,7 @@ internal static void DeleteDirectory(string path)
36
// Somehow making commits with libgit2sharp locks files
37
// such that we can't delete them (but Windows Explorer can).
38
var psi = new ProcessStartInfo("cmd.exe", $"/c rd /s /q \"{path}\"");
39
+ psi.WorkingDirectory = Path.GetTempPath();
40
psi.WindowStyle = ProcessWindowStyle.Hidden;
41
var process = Process.Start(psi);
42
process.WaitForExit();
0 commit comments