From defd9eef4791a640584e5cbed0419a6d159a6c62 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Tue, 26 Mar 2024 20:49:35 +0300 Subject: [PATCH] chore: linting --- src/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index e1b277514d..156089f3fe 100644 --- a/src/core.ts +++ b/src/core.ts @@ -412,7 +412,7 @@ export class ProcessPromise extends Promise { 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)