public NodeExecutor ( string nodeWorkspace, string nodeExePath = null ) : NodeAssets.Compilers | ||
nodeWorkspace | string | |
nodeExePath | string | |
return | NodeAssets.Compilers |
public NodeExecutor(string nodeWorkspace, string nodeExePath = null)
{
// Allow for a null workspace
if (!string.IsNullOrEmpty(nodeWorkspace))
{
_workspace = new DirectoryInfo(nodeWorkspace);
}
_nodeExePath = nodeExePath ?? "node.exe";
}