summaryrefslogtreecommitdiff
path: root/scripts/smoke/cleanup.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/smoke/cleanup.js')
-rw-r--r--scripts/smoke/cleanup.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/smoke/cleanup.js b/scripts/smoke/cleanup.js
index 3b03951f9..1bb398d9e 100644
--- a/scripts/smoke/cleanup.js
+++ b/scripts/smoke/cleanup.js
@@ -2,7 +2,7 @@
// @ts-check
-import { execa } from 'execa';
+import { exec } from 'tinyexec';
import { promises as fs } from 'node:fs';
import { fileURLToPath } from 'node:url';
@@ -36,7 +36,9 @@ async function run() {
console.log('🤖', 'Resetting', 'pnpm');
- await execa('pnpm', ['install'], { cwd: fileURLToPath(rootDir), stdout: 'inherit', stderr: 'inherit' });
+ await exec('pnpm', ['install'], {
+ nodeOptions: { cwd: fileURLToPath(rootDir), stdio: ['pipe', 'inherit', 'inherit'] },
+ });
}
/* Functionality