build: unify bun quality gate

This commit is contained in:
ejclaw
2026-04-11 04:47:16 +09:00
parent f10833e818
commit 94d53e4cc3
29 changed files with 574 additions and 297 deletions

View File

@@ -36,7 +36,7 @@ function restartStackServicesDirect(
}
const execImpl = deps.execFileSyncImpl ?? execFileSync;
const systemctlArgs = deps.runningAsRoot ?? isRoot() ? [] : ['--user'];
const systemctlArgs = (deps.runningAsRoot ?? isRoot()) ? [] : ['--user'];
execImpl('systemctl', [...systemctlArgs, 'restart', ...services], {
stdio: 'ignore',
@@ -64,7 +64,7 @@ export function restartStackServices(
const services = getConfiguredServiceNames(projectRoot);
const execImpl = deps.execFileSyncImpl ?? execFileSync;
const systemctlArgs = deps.runningAsRoot ?? isRoot() ? [] : ['--user'];
const systemctlArgs = (deps.runningAsRoot ?? isRoot()) ? [] : ['--user'];
if (deps.direct) {
return restartStackServicesDirect(projectRoot, deps);