process: throw TypeError if kill pid not a number
Currently, invalid usage such as:
process.kill('SIGTERM')
process.kill(null)
process.kill(undefined);
all coerce the pid to 0, and signal the current process.
Signed-off-by:
Fedor Indutny <fedor@indutny.com>
parent
9a63a1d8
Please register or sign in to comment