Merge pull request #286 from raghur/master

Quote phantomPath so that it doesn't fail on window
This commit is contained in:
Knut Sveidqvist 2016-02-01 20:31:17 +01:00
commit 803916c99b
1 changed files with 1 additions and 1 deletions

View File

@ -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."))
}