fixes the node path

This commit is contained in:
2018-07-14 18:33:58 +02:00
parent d97241ad22
commit a5535d99b2

View File

@ -12,7 +12,7 @@ namespace tests
[Fact] [Fact]
void TestNodeJsForAnsitohtml () void TestNodeJsForAnsitohtml ()
{ {
var procStart = new ProcessStartInfo("env", "/usr/bin/nodejs node_modules/ansi-to-html/bin/ansi-to-html"); var procStart = new ProcessStartInfo("nodejs", "node_modules/ansi-to-html/bin/ansi-to-html");
procStart.UseShellExecute = false; procStart.UseShellExecute = false;
procStart.RedirectStandardInput = true; procStart.RedirectStandardInput = true;
procStart.RedirectStandardOutput = true; procStart.RedirectStandardOutput = true;