Skip to content

Commit f890a25

Browse files
committed
style(infra): format spawn ps helper
1 parent e0478e2 commit f890a25

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎src/infra/spawn-ps.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { spawnSync, type SpawnSyncReturns } from "node:child_process";
22

33
/** Run a bounded ps probe without letting an ignored SIGTERM extend the synchronous wait. */
4-
export function spawnPsSync(
5-
args: readonly string[],
6-
timeoutMs: number,
7-
): SpawnSyncReturns<string> {
4+
export function spawnPsSync(args: readonly string[], timeoutMs: number): SpawnSyncReturns<string> {
85
return spawnSync("ps", args, {
96
encoding: "utf8",
107
killSignal: "SIGKILL",

0 commit comments

Comments
 (0)