Skip to content

Commit 120a382

Browse files
committed
Don't make temp test files in bin directory
1 parent 1cbbcfc commit 120a382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PowerShellEditorServices.Test.E2E/DebugAdapterProtocolMessageTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void Dispose()
116116
private static string NewTestFile(string script, bool isPester = false)
117117
{
118118
string fileExt = isPester ? ".Tests.ps1" : ".ps1";
119-
string filePath = Path.Combine(s_binDir, Path.GetRandomFileName() + fileExt);
119+
string filePath = Path.Combine(Path.GetRandomFileName() + fileExt);
120120
File.WriteAllText(filePath, script);
121121

122122
return filePath;

0 commit comments

Comments
 (0)