Skip to content

Commit

Permalink
Grunt task detection has been called gulp and jake for a long time
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Jul 5, 2019
1 parent cbc6c7f commit 84e4f3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/grunt/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down Expand Up @@ -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();
},
Expand Down

0 comments on commit 84e4f3f

Please sign in to comment.