@@ -2606,7 +2606,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2606
2606
}
2607
2607
if ( buildTasks . length === 1 ) {
2608
2608
this . tryResolveTask ( buildTasks [ 0 ] ) . then ( resolvedTask => {
2609
- this . run ( resolvedTask ) . then ( undefined , reason => {
2609
+ this . run ( resolvedTask , undefined , TaskRunSource . User ) . then ( undefined , reason => {
2610
2610
// eat the error, it has already been surfaced to the user and we don't care about it here
2611
2611
} ) ;
2612
2612
} ) ;
@@ -2617,7 +2617,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2617
2617
if ( tasks . length > 0 ) {
2618
2618
let { defaults, users } = this . splitPerGroupType ( tasks ) ;
2619
2619
if ( defaults . length === 1 ) {
2620
- this . run ( defaults [ 0 ] ) . then ( undefined , reason => {
2620
+ this . run ( defaults [ 0 ] , undefined , TaskRunSource . User ) . then ( undefined , reason => {
2621
2621
// eat the error, it has already been surfaced to the user and we don't care about it here
2622
2622
} ) ;
2623
2623
return ;
@@ -2641,7 +2641,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2641
2641
this . runConfigureDefaultBuildTask ( ) ;
2642
2642
return ;
2643
2643
}
2644
- this . run ( task , { attachProblemMatcher : true } ) . then ( undefined , reason => {
2644
+ this . run ( task , { attachProblemMatcher : true } , TaskRunSource . User ) . then ( undefined , reason => {
2645
2645
// eat the error, it has already been surfaced to the user and we don't care about it here
2646
2646
} ) ;
2647
2647
} ) ;
@@ -2667,7 +2667,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2667
2667
if ( tasks . length > 0 ) {
2668
2668
let { defaults, users } = this . splitPerGroupType ( tasks ) ;
2669
2669
if ( defaults . length === 1 ) {
2670
- this . run ( defaults [ 0 ] ) . then ( undefined , reason => {
2670
+ this . run ( defaults [ 0 ] , undefined , TaskRunSource . User ) . then ( undefined , reason => {
2671
2671
// eat the error, it has already been surfaced to the user and we don't care about it here
2672
2672
} ) ;
2673
2673
return ;
@@ -2691,7 +2691,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2691
2691
this . runConfigureTasks ( ) ;
2692
2692
return ;
2693
2693
}
2694
- this . run ( task ) . then ( undefined , reason => {
2694
+ this . run ( task , undefined , TaskRunSource . User ) . then ( undefined , reason => {
2695
2695
// eat the error, it has already been surfaced to the user and we don't care about it here
2696
2696
} ) ;
2697
2697
} ) ;
0 commit comments