mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
In gulp tasks use task args so that gulp path can be escaped
Fixes #71154
This commit is contained in:
@@ -151,7 +151,7 @@ class FolderDetector {
|
||||
task: line
|
||||
};
|
||||
let options: vscode.ShellExecutionOptions = { cwd: this.workspaceFolder.uri.fsPath };
|
||||
let task = new vscode.Task(kind, this.workspaceFolder, line, 'gulp', new vscode.ShellExecution(`${gulpCommand} ${line}`, options));
|
||||
let task = new vscode.Task(kind, this.workspaceFolder, line, 'gulp', new vscode.ShellExecution(gulpCommand, [line], options));
|
||||
result.push(task);
|
||||
let lowerCaseLine = line.toLowerCase();
|
||||
if (isBuildTask(lowerCaseLine)) {
|
||||
|
||||
Reference in New Issue
Block a user