mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
Grunt task detection has been called gulp and jake for a long time
This commit is contained in:
@@ -54,14 +54,14 @@ function isTestTask(name: string): boolean {
|
||||
let _channel: vscode.OutputChannel;
|
||||
function getOutputChannel(): vscode.OutputChannel {
|
||||
if (!_channel) {
|
||||
_channel = vscode.window.createOutputChannel('Gulp Auto Detection');
|
||||
_channel = vscode.window.createOutputChannel('Grunt Auto Detection');
|
||||
}
|
||||
return _channel;
|
||||
}
|
||||
|
||||
function showError() {
|
||||
vscode.window.showWarningMessage(localize('gulpTaskDetectError', 'Problem finding jake tasks. See the output for more information.'),
|
||||
localize('jakeShowOutput', 'Go to output')).then(() => {
|
||||
vscode.window.showWarningMessage(localize('gruntTaskDetectError', 'Problem finding grunt tasks. See the output for more information.'),
|
||||
localize('gruntShowOutput', 'Go to output')).then(() => {
|
||||
getOutputChannel().show(true);
|
||||
});
|
||||
}
|
||||
@@ -272,7 +272,7 @@ class TaskDetector {
|
||||
|
||||
private updateProvider(): void {
|
||||
if (!this.taskProvider && this.detectors.size > 0) {
|
||||
this.taskProvider = vscode.workspace.registerTaskProvider('gulp', {
|
||||
this.taskProvider = vscode.workspace.registerTaskProvider('grunt', {
|
||||
provideTasks: () => {
|
||||
return this.getTasks();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user