try fix travis
This commit is contained in:
parent
a788b860c2
commit
ec5aff05e9
|
@ -335,7 +335,7 @@ public class BaseNodeTest implements RuntimeTestSupport {
|
||||||
String nodejsPath = locateNodeJS();
|
String nodejsPath = locateNodeJS();
|
||||||
String inputPath = new File(new File(tmpdir), "input")
|
String inputPath = new File(new File(tmpdir), "input")
|
||||||
.getAbsolutePath();
|
.getAbsolutePath();
|
||||||
ProcessBuilder builder = new ProcessBuilder(nodejsPath, "--trace-warnings", modulePath,
|
ProcessBuilder builder = new ProcessBuilder(nodejsPath, modulePath,
|
||||||
inputPath);
|
inputPath);
|
||||||
builder.environment().put("NODE_PATH", tmpdir);
|
builder.environment().put("NODE_PATH", tmpdir);
|
||||||
builder.directory(new File(tmpdir));
|
builder.directory(new File(tmpdir));
|
||||||
|
|
Loading…
Reference in New Issue