We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e6fae8 commit defd9eeCopy full SHA for defd9ee
src/core.ts
@@ -412,7 +412,7 @@ export class ProcessPromise extends Promise<ProcessOutput> {
412
throw new Error('Trying to kill a process without creating one.')
413
if (!this.child.pid) throw new Error('The process pid is undefined.')
414
415
- let children = await ps.tree({pid: this.child.pid, recursive: true})
+ let children = await ps.tree({ pid: this.child.pid, recursive: true })
416
for (const p of children) {
417
try {
418
process.kill(+p.pid, signal)
0 commit comments