mirror of
https://github.com/actions/labeler.git
synced 2025-12-18 08:06:47 +00:00
build
This commit is contained in:
8
node_modules/util.promisify/shim.js
generated
vendored
8
node_modules/util.promisify/shim.js
generated
vendored
@@ -6,8 +6,12 @@ var getPolyfill = require('./polyfill');
|
||||
module.exports = function shimUtilPromisify() {
|
||||
var polyfill = getPolyfill();
|
||||
if (polyfill !== util.promisify) {
|
||||
util.promisify = polyfill;
|
||||
Object.defineProperty(util, 'promisify', { value: polyfill });
|
||||
Object.defineProperty(util, 'promisify', {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
value: polyfill,
|
||||
writable: true
|
||||
});
|
||||
}
|
||||
return polyfill;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user