Skip to content

Commit a1a7af5

Browse files
committed
In gulp tasks use task args so that gulp path can be escaped
Fixes microsoft#71154
1 parent 8acd208 commit a1a7af5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/gulp/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class FolderDetector {
151151
task: line
152152
};
153153
let options: vscode.ShellExecutionOptions = { cwd: this.workspaceFolder.uri.fsPath };
154-
let task = new vscode.Task(kind, this.workspaceFolder, line, 'gulp', new vscode.ShellExecution(`${gulpCommand} ${line}`, options));
154+
let task = new vscode.Task(kind, this.workspaceFolder, line, 'gulp', new vscode.ShellExecution(gulpCommand, [line], options));
155155
result.push(task);
156156
let lowerCaseLine = line.toLowerCase();
157157
if (isBuildTask(lowerCaseLine)) {

0 commit comments

Comments
 (0)