fix: clean up lint + guardCancel typing

This commit is contained in:
Peter Steinberger
2026-01-12 07:02:49 +00:00
parent 3ba2eb6298
commit f00667ea25
5 changed files with 235 additions and 221 deletions

View File

@@ -18,10 +18,7 @@ function loadProfileEnv(): void {
try {
const output = execFileSync(
"/bin/bash",
[
"-lc",
`set -a; source \"${profilePath}\" >/dev/null 2>&1; env -0`,
],
["-lc", `set -a; source "${profilePath}" >/dev/null 2>&1; env -0`],
{ encoding: "utf8" },
);
const entries = output.split("\0");