From dfeb6c1878e72ce5fe897a320d35433d835447fb Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Tue, 17 Oct 2023 19:49:17 +0000 Subject: [PATCH] Bug 1858932 - Skip bash and run mach directly on powershell for tasks.json r=tcampbell DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D190924 --- .vscode/tasks.json | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index eab45b2a7532..d99fb07924d8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,16 +6,9 @@ "command": "${workspaceFolder}/mach", "args": ["--log-no-times"], "windows": { - "command": "/mozilla-build/start-shell.bat", - "args": [ - "cd", - // Use PowerShell to mangle path for mozilla-build environment - {"value": "$('${workspaceFolder}' -replace '\\\\','/')", "quoting": "weak"}, - "';'", - - "mach", - "--log-no-times" - ] + // Not using ${workspaceFolder} because doing so somehow runs + // the command on a new window instead of within the vscode terminal + "command": "./mach" }, "tasks": [ {