diff --git a/tasks/options/phantomjs.js b/tasks/options/phantomjs.js index ab3bd072652..af7deff305c 100644 --- a/tasks/options/phantomjs.js +++ b/tasks/options/phantomjs.js @@ -6,6 +6,10 @@ module.exports = function(config,grunt) { var dest = './vendor/phantomjs/phantomjs'; var confDir = './node_modules/phantomjs-prebuilt/lib/'; + if (process.platform === "win32") { + dest += ".exe"; + } + src = config.phjs if (!src){