Commit 82b30e37 by Nick Schonning

Fix ShellJS resolutions on Windows

https://github.com/arturadib/shelljs/issues/41
parent 4c5281d4
...@@ -5,4 +5,7 @@ ...@@ -5,4 +5,7 @@
require("shelljs/make"); require("shelljs/make");
exec("jshint ."); var path = require("path");
var JSHINT_BIN = ["node_modules", ".bin", "jshint"].join(path.sep);
exec(JSHINT_BIN + " .");
...@@ -5,4 +5,7 @@ ...@@ -5,4 +5,7 @@
require("shelljs/make"); require("shelljs/make");
exec("mocha test"); var path = require("path");
var mocha = ["node_modules", ".bin", "mocha"].join(path.sep);
exec(mocha + " test");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment