Skip to content

Commit 74b603f

Browse files
authoredNov 21, 2024··
ci: fix pack.mjs (#1952)
1 parent 2451e20 commit 74b603f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/pack.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function pack() {
3636
console.log('[pack] pack', path)
3737
cd(resolve(WORKSPACE_ROOT, path))
3838
const { stdout } = await $`pnpm pack`
39-
await fs.move(stdout.trim(), `${PKG_ROOT}/${name}.tgz`)
39+
await fs.move(stdout.split('\n').filter(Boolean).at(-1).trim(), `${PKG_ROOT}/${name}.tgz`)
4040
}
4141
}
4242

0 commit comments

Comments
 (0)
Please sign in to comment.