File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/tasks/browser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2994,9 +2994,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
2994
2994
const relativePath = workspaceFolder ?. uri ? ( resources . relativePath ( workspaceFolder . uri , absoluteURI ) ?? absoluteURI . path ) : absoluteURI . path ;
2995
2995
2996
2996
taskGroupTasks = await this . _findWorkspaceTasks ( ( task ) => {
2997
- const taskGroup = task . configurationProperties . group ;
2998
- if ( taskGroup && typeof taskGroup !== 'string' && typeof taskGroup . isDefault === 'string' ) {
2999
- return ( taskGroup . _id === taskGroup . _id && glob . match ( taskGroup . isDefault , relativePath ) ) ;
2997
+ const currentTaskGroup = task . configurationProperties . group ;
2998
+ if ( currentTaskGroup && typeof currentTaskGroup !== 'string' && typeof currentTaskGroup . isDefault === 'string' ) {
2999
+ return ( currentTaskGroup . _id === taskGroup . _id && glob . match ( currentTaskGroup . isDefault , relativePath ) ) ;
3000
3000
}
3001
3001
3002
3002
return false ;
You can’t perform that action at this time.
0 commit comments