FIxing path separator to address #247 (#248)

* Correcting path separator to ;

* Using the proper API from System.IO to get path separator
This commit is contained in:
Aaron Powell
2016-08-08 10:54:22 +10:00
committed by Steve Sanderson
parent 7052fa0ad2
commit 2a6465b27a

View File

@@ -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");