1
0
mirror of https://github.com/Azure/setup-helm.git synced 2026-07-08 17:31:37 +00:00
Files
setup-helm/node_modules/p-try/index.js
T
2022-01-26 17:16:26 -05:00

10 lines
211 B
JavaScript

'use strict';
const pTry = (fn, ...arguments_) => new Promise(resolve => {
resolve(fn(...arguments_));
});
module.exports = pTry;
// TODO: remove this in the next major version
module.exports.default = pTry;