From a656d01bf5cecf04e111ec1ae841d31c13f09667 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Wed, 25 Jan 2017 05:49:09 -0800 Subject: [PATCH] append windows phantomjs with .exe (#7065) --- tasks/options/phantomjs.js | 4 ++++ 1 file changed, 4 insertions(+) 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){