From 2a6465b27aa0c8deebbeb672f5ee0e95d2f20676 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Mon, 8 Aug 2016 10:54:22 +1000 Subject: [PATCH] FIxing path separator to address #247 (#248) * Correcting path separator to ; * Using the proper API from System.IO to get path separator --- .../HostingModels/OutOfProcessNodeInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs index e85ed8c1f8..3c9cfd519b 100644 --- a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs +++ b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs @@ -126,7 +126,7 @@ If you haven't yet installed node-inspector, you can do so as follows: var existingNodePath = Environment.GetEnvironmentVariable("NODE_PATH") ?? string.Empty; if (existingNodePath != string.Empty) { - existingNodePath += ":"; + existingNodePath += Path.PathSeparator; } var nodePathValue = existingNodePath + Path.Combine(projectPath, "node_modules");