Skip to content

Commit 7dc689e

Browse files
authored
fix: installation tool on Windows (#345)
1 parent 5df011a commit 7dc689e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const install = defineTool({
3333
handle: async context => {
3434
const channel = context.config.browser?.launchOptions?.channel ?? context.config.browser?.launchOptions.browserName ?? 'chrome';
3535
const cliUrl = import.meta.resolve('playwright/package.json');
36-
const cliPath = fileURLToPath(path.join(cliUrl, '..', 'cli.js'));
36+
const cliPath = path.join(fileURLToPath(cliUrl), '..', 'cli.js');
3737
const child = fork(cliPath, ['install', channel], {
3838
stdio: 'pipe',
3939
});

0 commit comments

Comments
 (0)