mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-23 14:24:46 +00:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
24
node_modules/util.promisify/index.js
generated
vendored
Normal file
24
node_modules/util.promisify/index.js
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
|
||||
var define = require('define-properties');
|
||||
var util = require('util');
|
||||
|
||||
var implementation = require('./implementation');
|
||||
var getPolyfill = require('./polyfill');
|
||||
var polyfill = getPolyfill();
|
||||
var shim = require('./shim');
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
var boundPromisify = function promisify(orig) {
|
||||
/* eslint-enable no-unused-vars */
|
||||
return polyfill.apply(util, arguments);
|
||||
};
|
||||
define(boundPromisify, {
|
||||
custom: polyfill.custom,
|
||||
customPromisifyArgs: polyfill.customPromisifyArgs,
|
||||
getPolyfill: getPolyfill,
|
||||
implementation: implementation,
|
||||
shim: shim
|
||||
});
|
||||
|
||||
module.exports = boundPromisify;
|
Loading…
Add table
Add a link
Reference in a new issue