fix: stabilize tests and logging

This commit is contained in:
Peter Steinberger committed 2026-01-18 18:43:31 +00:00
1 parent 57dd0505a3
commit ab340c82fb
46 files changed
+700 -335

No files matched your search

+1 -3
View File
@@ -176,9 +176,7 @@ export async function isLaunchAgentListed(args: {
const label = resolveLaunchAgentLabel({ env: args.env });
const res = await execLaunchctl(["list"]);
if (res.code !== 0) return false;
return res.stdout
.split(/\r?\n/)
.some((line) => line.trim().split(/\s+/).at(-1) === label);
return res.stdout.split(/\r?\n/).some((line) => line.trim().split(/\s+/).at(-1) === label);
}
export async function launchAgentPlistExists(