mirror of
https://github.com/Azure/setup-helm.git
synced 2026-04-10 08:44:20 +00:00
parent
20d2b4f98d
commit
e4f3964f67
1492 changed files with 63799 additions and 63001 deletions
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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue