Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 2a6465b

Browse files
aaronpowellSteveSandersonMS
authored andcommitted
FIxing path separator to address #247 (#248)
* Correcting path separator to ; * Using the proper API from System.IO to get path separator
1 parent 7052fa0 commit 2a6465b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected virtual ProcessStartInfo PrepareNodeProcessStartInfo(
126126
var existingNodePath = Environment.GetEnvironmentVariable("NODE_PATH") ?? string.Empty;
127127
if (existingNodePath != string.Empty)
128128
{
129-
existingNodePath += ":";
129+
existingNodePath += Path.PathSeparator;
130130
}
131131

132132
var nodePathValue = existingNodePath + Path.Combine(projectPath, "node_modules");

0 commit comments

Comments
 (0)