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 5df011a commit 7dc689eCopy full SHA for 7dc689e
src/tools/install.ts
@@ -33,7 +33,7 @@ const install = defineTool({
33
handle: async context => {
34
const channel = context.config.browser?.launchOptions?.channel ?? context.config.browser?.launchOptions.browserName ?? 'chrome';
35
const cliUrl = import.meta.resolve('playwright/package.json');
36
- const cliPath = fileURLToPath(path.join(cliUrl, '..', 'cli.js'));
+ const cliPath = path.join(fileURLToPath(cliUrl), '..', 'cli.js');
37
const child = fork(cliPath, ['install', channel], {
38
stdio: 'pipe',
39
});
0 commit comments