Fixes #30044: Task contribution should allow extension to supress problem matcher attach message

This commit is contained in:
Dirk Baeumer
2017-07-10 13:09:38 +02:00
parent b92a9b09a8
commit 8efcb4e909
5 changed files with 18 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ async function getNpmScriptsAsTasks(): Promise<vscode.Task[]> {
result.push(task);
});
// add some 'well known' npm tasks
result.push(new vscode.Task({ type: 'npm', script: 'install' } as NpmTaskDefinition, `install`, 'npm', new vscode.ShellExecution(`npm install`)));
result.push(new vscode.Task({ type: 'npm', script: 'install' } as NpmTaskDefinition, `install`, 'npm', new vscode.ShellExecution(`npm install`), []));
return Promise.resolve(result);
} catch (e) {
return Promise.resolve(emptyTasks);