Skip to content

Commit 005273c

Browse files
Changed Windows used Path to Process for func.exe (#20)
1 parent d4c03c2 commit 005273c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LogicAppUnit/Hosting/WorkflowTestHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private static string GetEnvPathForFunctionTools()
220220
// Handle the differences between platforms
221221
if (OperatingSystem.IsWindows())
222222
{
223-
enviromentPath = Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine);
223+
enviromentPath = Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Process);
224224
exeName = "func.exe";
225225
}
226226
else

0 commit comments

Comments
 (0)