Skip to content

Commit 09e7ee7

Browse files
committed
no reject on npm list
1 parent ddff423 commit 09e7ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/prepare.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const promises = fixtures.map((fixture) =>
107107
}
108108
output.stderr?.pipe(addPrefix()).pipe(process.stderr)
109109
return output.finally(async () => {
110-
const npmListPromise = execaCommand(`npm list next`, { cwd, stdio: 'pipe' })
110+
const npmListPromise = execaCommand(`npm list next`, { cwd, stdio: 'pipe', reject: false })
111111
npmListPromise.stdout?.pipe(addPrefix()).pipe(process.stdout)
112112
npmListPromise.stderr?.pipe(addPrefix()).pipe(process.stderr)
113113
await npmListPromise

0 commit comments

Comments
 (0)