Skip to content

Commit

Permalink
Fixing name of phantomjs module
Browse files Browse the repository at this point in the history
  • Loading branch information
brenden committed Feb 14, 2016
1 parent 477c91d commit c3ca630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function() {

// Apply the compiled phantomjs path only if it compiled successfully
try {
defaults.phantomPath = require('phantomjs').path;
defaults.phantomPath = require('phantomjs-prebuilt').path;
} catch (ex) {}

options = processOptions(options, defaults);
Expand Down

0 comments on commit c3ca630

Please sign in to comment.