Skip to content

Commit 2a6465b

Browse files
aaronpowellSteveSandersonMS
authored andcommitted
FIxing path separator to address aspnet#247 (aspnet#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

Lines changed: 1 addition & 1 deletion
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)