Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 26, 2024
1 parent 5e6fae8 commit defd9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class ProcessPromise extends Promise<ProcessOutput> {
throw new Error('Trying to kill a process without creating one.')
if (!this.child.pid) throw new Error('The process pid is undefined.')

let children = await ps.tree({pid: this.child.pid, recursive: true})
let children = await ps.tree({ pid: this.child.pid, recursive: true })
for (const p of children) {
try {
process.kill(+p.pid, signal)
Expand Down

0 comments on commit defd9ee

Please sign in to comment.