Skip to content

Commit

Permalink
update nodeBin
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Sep 6, 2023
1 parent 34c38f3 commit b6254f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playwright-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async function run(nodeBin: string, runCfgPath: string, suiteName: string) {
console.log(`Sauce Playwright Runner ${packageInfo.version}`);
console.log(`Running Playwright ${packageInfo.dependencies?.playwright || ''}`);

nodeBin = `${nodeBin}/node/bin/`;
nodeBin = `${path.dirname(nodeBin)}/node/bin/${path.basename(nodeBin)}`;
console.log('nodeBin: ', nodeBin)

let result: RunResult;
Expand Down

0 comments on commit b6254f2

Please sign in to comment.