Grunt task detection has been called gulp and jake for a long time

This commit is contained in:
Alex Ross 2019-07-05 10:45:35 +02:00
parent cbc6c7ff27
commit 84e4f3f53d

View file

@ -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();
},