Skip to content

Commit

Permalink
Merge pull request #63 from ngsru/master
Browse files Browse the repository at this point in the history
fixed phantomjs-prebuilt binary lookup
  • Loading branch information
mrhooray committed Apr 18, 2016
2 parents aeb0fb5 + 7470c43 commit 3d32289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function fileURL(str) {

function spawnPhantomJS(args, options, stream, cb) {
// in case npm is started with --no-bin-links
var phantomjsPath = lookup('.bin/phantomjs', true) || lookup('phantomjs/bin/phantomjs', true);
var phantomjsPath = lookup('.bin/phantomjs', true) || lookup('phantomjs-prebuilt/bin/phantomjs', true);

if (!phantomjsPath) {
return cb(new gutil.PluginError(pluginName, 'PhantomJS not found'));
Expand Down

0 comments on commit 3d32289

Please sign in to comment.