Skip to content

Commit

Permalink
Fixed Windows OS execution
Browse files Browse the repository at this point in the history
  • Loading branch information
stimonm committed Mar 14, 2018
1 parent c73a084 commit d86b148
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22,001 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static String validate(String schemaDir, String jsonDir, String jsValidat
}

private static boolean checkNode() throws IOException, InterruptedException {
ProcessBuilder pb = new ProcessBuilder(new ArrayList<>(Arrays.asList("node", "-help")));
ProcessBuilder pb = new ProcessBuilder(new ArrayList<>(Arrays.asList("node", "-v")));
Process p = pb.start();
int exitValue = p.waitFor();
return exitValue == 0;
Expand Down
Loading

0 comments on commit d86b148

Please sign in to comment.