mirror of
https://github.com/Azure/setup-helm.git
synced 2025-07-17 03:10:37 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
6
node_modules/signal-exit/index.js
generated
vendored
6
node_modules/signal-exit/index.js
generated
vendored
@ -19,7 +19,9 @@ const processOk = function (process) {
|
||||
// some kind of non-node environment, just no-op
|
||||
/* istanbul ignore if */
|
||||
if (!processOk(process)) {
|
||||
module.exports = function () {}
|
||||
module.exports = function () {
|
||||
return function () {}
|
||||
}
|
||||
} else {
|
||||
var assert = require('assert')
|
||||
var signals = require('./signals.js')
|
||||
@ -52,7 +54,7 @@ if (!processOk(process)) {
|
||||
module.exports = function (cb, opts) {
|
||||
/* istanbul ignore if */
|
||||
if (!processOk(global.process)) {
|
||||
return
|
||||
return function () {}
|
||||
}
|
||||
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
||||
|
||||
|
2
node_modules/signal-exit/package.json
generated
vendored
2
node_modules/signal-exit/package.json
generated
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "signal-exit",
|
||||
"version": "3.0.6",
|
||||
"version": "3.0.7",
|
||||
"description": "when you want to fire an event no matter how a process exits.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Reference in New Issue
Block a user