diff --git a/test.sh b/test.sh index f701847e..9ecadb79 100644 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ #!/bin/sh -npm i -g jshint +npm i jshint echo "jshint server.js client.js lib/cloudfunc.js" -jshint --config ./.jshintrc ./server.js ./client.js +./node_modules/jshint/bin/hint --config ./.jshintrc ./server.js ./client.js echo "jshint ./lib/cloudfunc.js ./lib/server/minify.js ./lib/client/keyBinding.js" jshint --config ./.jshintrc ./lib/cloudfunc.js ./lib/server/minify.js ./lib/client/keyBinding.js \ No newline at end of file