Skip to content

Commit

Permalink
fix: make create-playwright work under CMD (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt authored Jan 10, 2025
1 parent 059dd1a commit 7ec54c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function installPlaywright(vscode: vscodeTypes.VSCode) {
if (result.includes(installDepsItem))
args.push('--install-deps');

terminal.sendText(`npm init playwright@latest --yes ${quote('--')} ${quote('--quiet')} ${args.map(quote).join(' ')}`, true);
terminal.sendText(`npm init playwright@latest --yes "--" . ${quote('--quiet')} ${args.map(quote).join(' ')}`, true);
}

function quote(s: string): string {
Expand Down

0 comments on commit 7ec54c5

Please sign in to comment.