9 lines
125 B
JavaScript
9 lines
125 B
JavaScript
|
|
||
|
module.exports = global.Promise
|
||
|
|
||
|
if (!module.exports) {
|
||
|
try {
|
||
|
module.exports = require('bluebird')
|
||
|
} catch (_) {}
|
||
|
}
|