From 7ec54c50127425e1303c2b86834b179e497cbb58 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Fri, 10 Jan 2025 15:27:17 +0100 Subject: [PATCH] fix: make create-playwright work under CMD (#592) --- src/installer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index 0c9bf1bd6c..e4de368838 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -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 {