Keep main's one-line guards where no rule needs braces
Check / check (pull_request) Successful in 37s

This commit is contained in:
Danny Kim
2026-10-17 18:52:49 +09:00
parent 3cbe4171ea
commit eba9b9c57c
4 changed files with 12 additions and 27 deletions
+1 -3
View File
@@ -55,9 +55,7 @@ export async function killProfileProcesses(uid: number, attempt = 0): Promise<vo
throw new Error(`profile UID ${uid} still owns processes after cleanup`);
}
const ids = await profileProcessIds(uid);
if (ids.length === 0) {
return;
}
if (ids.length === 0) return;
for (const pid of ids) {
try {
process.kill(pid, "SIGKILL");