ci: fix task runner

This commit is contained in:
cha0s 2024-02-04 14:01:34 -06:00
parent 988f8fb94c
commit 68b007a078

View File

@ -20,9 +20,9 @@ const {workspaces} = require(join(FLECKS_CORE_ROOT, 'package.json'));
.then( .then(
((cwd) => ( ((cwd) => (
(code) => { (code) => {
if (0 === code) { return 0 === code
return processCode(spawnWith(['npm', 'run', ...process.argv.slice(2)], {cwd})); ? processCode(spawnWith(['npm', 'run', ...process.argv.slice(2)], {cwd}))
} : code;
} }
))(paths[i]), ))(paths[i]),
); );