Skip to content

Commit

Permalink
Merge pull request #286 from raghur/master
Browse files Browse the repository at this point in the history
Quote phantomPath so that it doesn't fail on window
  • Loading branch information
knsv committed Feb 1, 2016
2 parents 6ee298d + 54433ee commit 803916c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function createCheckPhantom(_phantomPath) {
}

// If we have phantompath, see if its version satisfies our requirements
exec(phantomPath + ' --version', function(err, stdout, stderr) {
exec('"' + phantomPath + '" --version', function(err, stdout, stderr) {
if (err) {
next(new Error("Could not find phantomjs at the specified path."))
}
Expand Down

0 comments on commit 803916c

Please sign in to comment.