mirror of
https://github.com/actions/setup-node.git
synced 2025-07-26 00:18:25 +02:00
Use husky
This commit is contained in:
parent
d7b6952411
commit
c3f0a8be66
6685 changed files with 919804 additions and 0 deletions
13
node_modules/util.promisify/shim.js
generated
vendored
Normal file
13
node_modules/util.promisify/shim.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
var util = require('util');
|
||||
var getPolyfill = require('./polyfill');
|
||||
|
||||
module.exports = function shimUtilPromisify() {
|
||||
var polyfill = getPolyfill();
|
||||
if (polyfill !== util.promisify) {
|
||||
util.promisify = polyfill;
|
||||
Object.defineProperty(util, 'promisify', { value: polyfill });
|
||||
}
|
||||
return polyfill;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue