Fixes #35352: Improving sample build task template to "solve" the "No build tasks found" message
This commit is contained in:
parent
ec98cc17b0
commit
5f641c6d8d
1 changed files with 2 additions and 2 deletions
|
@ -1988,7 +1988,7 @@ class TaskService extends EventEmitter implements ITaskService {
|
|||
this.showQuickPick(tasks,
|
||||
nls.localize('TaskService.pickBuildTask', 'Select the build task to run'),
|
||||
{
|
||||
label: nls.localize('TaskService.noBuildTask', 'No build task to run found. Configure Tasks...'),
|
||||
label: nls.localize('TaskService.noBuildTask', 'No build task to run found. Configure Build Task...'),
|
||||
task: null
|
||||
},
|
||||
true).then((task) => {
|
||||
|
@ -1996,7 +1996,7 @@ class TaskService extends EventEmitter implements ITaskService {
|
|||
return;
|
||||
}
|
||||
if (task === null) {
|
||||
this.runConfigureTasks();
|
||||
this.runConfigureDefaultBuildTask();
|
||||
return;
|
||||
}
|
||||
this.run(task, { attachProblemMatcher: true });
|
||||
|
|
Loading…
Reference in a new issue