Skip to content

Commit

Permalink
ci: do not use node for pkg binary
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpc committed Oct 6, 2021
1 parent 9368c15 commit b9326ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amplify-e2e-core/src/utils/nexpect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export function nspawn(command: string | string[], params: string[] = [], option
const testingWithLatestCodebase = isTestingWithLatestCodebase(command);
if (
testingWithLatestCodebase ||
(process.platform === "win32" && !command.endsWith("node.exe"))
(process.platform === "win32" && !command.endsWith(".exe"))
) {
params.unshift(command);
command = getScriptRunnerPath(testingWithLatestCodebase);
Expand Down

0 comments on commit b9326ec

Please sign in to comment.