Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

Commit

Permalink
Use shelljs's which command so it works on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Jan 30, 2015
1 parent fe88cee commit 8e422a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/html-inspector
Expand Up @@ -29,7 +29,7 @@ if(program.args.length !== 1) {
}

// warn is PhantomJS isn't install
if (exec("which phantomjs").code !== 0) {
if (!which("phantomjs")) {
echo("PhantomJS must be installed to use the HTML Inspector CLI.".red)
exit(1)
}
Expand Down

0 comments on commit 8e422a7

Please sign in to comment.