mirror of
https://github.com/Microsoft/vscode
synced 2024-07-17 11:07:22 +00:00
Grunt task detection has been called gulp and jake for a long time
This commit is contained in:
parent
cbc6c7ff27
commit
84e4f3f53d
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue