GT2/Ejectable/node_modules/p-try/index.js

5 lines
82 B
JavaScript

'use strict';
module.exports = cb => new Promise(resolve => {
resolve(cb());
});