diff options
Diffstat (limited to 'vanilla/node_modules/siginfo/index.js')
| -rw-r--r-- | vanilla/node_modules/siginfo/index.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vanilla/node_modules/siginfo/index.js b/vanilla/node_modules/siginfo/index.js deleted file mode 100644 index 5092b61..0000000 --- a/vanilla/node_modules/siginfo/index.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = function (query, force) { - var isAttached = false - if (process.stderr.isTTY || force === true) { - isAttached = true - process.on('SIGINFO', onsiginfo) - process.on('SIGUSR1', onsiginfo) - } - - return function () { - if (isAttached === true) { - process.removeListener('SIGINFO', onsiginfo) - process.removeListener('SIGUSR1', onsiginfo) - isAttached = false - } - } - - function onsiginfo () { - query() - } -} |
