fix(update): get rid of shell deprecation msg

This commit is contained in:
matt1432 2025-05-10 14:16:55 -04:00
parent dfc8337342
commit 1c22784064
9 changed files with 30 additions and 32 deletions
apps/update-sources/src

View file

@ -9,7 +9,7 @@ const FLAKE = process.env.FLAKE;
const updateImages = (imagePath: string): string | undefined => {
console.log(`Updating ${imagePath.split('/').at(-1)} images`);
const out = spawnSync('updateImages', [imagePath], { shell: true }).stdout.toString();
const out = spawnSync(`updateImages ${imagePath}`, [], { shell: true }).stdout.toString();
if (out.length > 1) {
return out;