From 16eb3d120d97d23847523c9509294a8701d03fbb Mon Sep 17 00:00:00 2001 From: mptyl Date: Tue, 11 Aug 2026 19:05:20 +0200 Subject: [PATCH] fix: drop TS annotation in the P2 acceptance runner --- backend/scripts/p2-acceptance.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/scripts/p2-acceptance.mjs b/backend/scripts/p2-acceptance.mjs index e3bbafd4..aaa640ef 100644 --- a/backend/scripts/p2-acceptance.mjs +++ b/backend/scripts/p2-acceptance.mjs @@ -968,7 +968,7 @@ function sameSet(left, right) { return JSON.stringify([...left].sort()) === JSON.stringify([...right].sort()); } -function realUserHome(): string | undefined { +function realUserHome() { try { const output = execFileSync("bash", ["-lc", 'printf "%s" ~'], { encoding: "utf8" }).trim(); return output.length > 0 ? output : undefined;