Skip to content

Commit

Permalink
expose Promise to the global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVerschueren committed Dec 16, 2015
1 parent 6176790 commit bb76539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -15,6 +15,8 @@ var Promise = require('pinkie-promise');
delete require.cache[__filename];
var parentDir = path.dirname(module.parent.filename);

global.Promise = Promise;

module.exports = function (opts, minimistOpts) {
loudRejection();

Expand Down

0 comments on commit bb76539

Please sign in to comment.