style: format extracted helpers

This commit is contained in:
Eyejoker
2026-03-23 07:00:22 +09:00
parent a2db8f6c0e
commit 867a6a80ef
4 changed files with 18 additions and 20 deletions

View File

@@ -107,8 +107,7 @@ function buildBaseRunnerEnv(args: {
const npmGlobalBin = path.join(os.homedir(), '.npm-global', 'bin');
const currentPath = cleanEnv.PATH || '/usr/local/bin:/usr/bin:/bin';
const extraPaths = [nodeBin, npmGlobalBin].filter(
(candidate) =>
!currentPath.includes(candidate) && fs.existsSync(candidate),
(candidate) => !currentPath.includes(candidate) && fs.existsSync(candidate),
);
return {