We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33f697 commit 1068d03Copy full SHA for 1068d03
tests/e2e/e2eUtils.ts
@@ -36,7 +36,7 @@ export function useCliRunner(): { runServer: RunServerFunction } {
36
/** `true` by default so whitespace is stripped from the output */
37
stripWhitespace?: boolean;
38
}): ReturnType<RunServerFunction> {
39
- const result = await execFileAsync(CLI_PATH, [...args, ...(dryRun ? ["--dryRun"] : [])]);
+ const result = await execFileAsync(process.execPath, [CLI_PATH, ...args, ...(dryRun ? ["--dryRun"] : [])]);
40
if (stripWhitespace) {
41
result.stdout = result.stdout.replace(/\s/g, "");
42
}
0 commit comments