File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 880
880
{
881
881
"id" : " als-get-started-build" ,
882
882
"title" : " Build your project" ,
883
- "description" : " Use automatically provided `ada` tasks to build your project.\n [Build Project ](command:workbench.action.tasks.runTask )" ,
883
+ "description" : " Use automatically provided `ada` tasks to build your project.\n [Run Build Task ](command:workbench.action.tasks.build )" ,
884
884
"media" : {
885
885
"markdown" : " media/build.md"
886
886
},
Original file line number Diff line number Diff line change @@ -453,10 +453,6 @@ export class SimpleTaskProvider implements vscode.TaskProvider {
453
453
tDecl . problemMatchers
454
454
) ;
455
455
456
- if ( tDecl . taskGroup ) {
457
- task . group = tDecl . taskGroup ;
458
- }
459
-
460
456
/**
461
457
* Ideally we would have liked to provide unresolved tasks and let
462
458
* resolving only happen in the resolveTask method, but that's not
@@ -466,6 +462,13 @@ export class SimpleTaskProvider implements vscode.TaskProvider {
466
462
const resolvedTask = await this . resolveTask ( task , token ) ;
467
463
468
464
if ( resolvedTask ) {
465
+ /**
466
+ * Set other properties on the resolved task
467
+ */
468
+ if ( tDecl . taskGroup ) {
469
+ resolvedTask . group = tDecl . taskGroup ;
470
+ }
471
+
469
472
result . push ( resolvedTask ) ;
470
473
} else {
471
474
logger . error ( `Failed to resolve task: ${ JSON . stringify ( task , undefined , 2 ) } ` ) ;
You can’t perform that action at this time.
0 commit comments