summaryrefslogtreecommitdiff
path: root/scripts/smoke/cleanup.js
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2024-11-04 22:49:33 +0800
committerGravatar GitHub <noreply@github.com> 2024-11-04 22:49:33 +0800
commit493fe43cd3ef94b087b8958031ecc964ae73463b (patch)
tree9fca7b3a2666666e74709542cf3b302a6e257e36 /scripts/smoke/cleanup.js
parentec3113d25a318d94cac879c3eae4ad624ed1aee0 (diff)
downloadastro-493fe43cd3ef94b087b8958031ecc964ae73463b.tar.gz
astro-493fe43cd3ef94b087b8958031ecc964ae73463b.tar.zst
astro-493fe43cd3ef94b087b8958031ecc964ae73463b.zip
Improve tinyexec errors (#12368)
Diffstat (limited to 'scripts/smoke/cleanup.js')
-rw-r--r--scripts/smoke/cleanup.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/smoke/cleanup.js b/scripts/smoke/cleanup.js
index 1bb398d9e..e901556ec 100644
--- a/scripts/smoke/cleanup.js
+++ b/scripts/smoke/cleanup.js
@@ -38,6 +38,7 @@ async function run() {
await exec('pnpm', ['install'], {
nodeOptions: { cwd: fileURLToPath(rootDir), stdio: ['pipe', 'inherit', 'inherit'] },
+ throwOnError: true
});
}