Merge pull request #862 from zewish/master

Do not replace the native Promise when it is available
This commit is contained in:
Francis Gulotta 2016-07-03 11:25:38 -04:00 • committed by GitHub
commit a79019519a

View file

@ -1,5 +1,9 @@
'use strict';
var Promise = require('es6-promise').Promise;
var Promise = typeof global.Promise === 'function'
? global.Promise
: require('es6-promise').Promise;
var childProcess = require('child_process');
var fs = require('fs');
var path = require('path');