Skip to content

Commit

Permalink
refactor: refactor context
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 7, 2017
1 parent d69501d commit 941140a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const installScript =
module.exports.downloadURLs = downloadURLs;
`;

const context = new Context(downLoaderPath, {
global: {}
});
const context = new Context(downLoaderPath);

const script = new vm.Script(`${installScript}`);

Expand Down

0 comments on commit 941140a

Please sign in to comment.