1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +00:00

updated package.json

This commit is contained in:
2016-01-04 12:25:28 -05:00
parent 3443c97de4
commit 80ca24a715
1168 changed files with 73752 additions and 26424 deletions

16
node_modules/forever/lib/forever.js generated vendored
View File

@@ -758,14 +758,16 @@ forever.findByUid = function (script, processes) {
// Finds the process with the specified pid.
//
forever.findByPid = function (pid, processes) {
var procs = !processes
? null
: processes.filter(function (p) {
return p.pid == pid;
});
pid = typeof pid === 'string'
? parseInt(pid, 10)
: pid;
var procs = processes && processes.filter(function (p) {
return p.pid === pid;
});
if (procs && procs.length === 0) { procs = null; }
return procs;
return procs || null;
};
//
@@ -972,7 +974,7 @@ forever.logEvents = function (monitor) {
});
monitor.on('exit:code', function (code, signal) {
forever.out.error(!isNaN(code)
forever.out.error((code !== null && code !== undefined)
? 'Forever detected script exited with code: ' + code
: 'Forever detected script was killed by signal: ' + signal);
});