Make isDefault glob pattern for task case-insensitive (#274286)

This commit is contained in:
Dmitriy Vasyura
2025-10-31 09:35:33 -07:00
committed by GitHub
parent 02b5a422c9
commit 37013ed8be
@@ -3377,7 +3377,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
const globGroupTasks = await this._findWorkspaceTasks((task) => {
const currentTaskGroup = task.configurationProperties.group;
if (currentTaskGroup && typeof currentTaskGroup !== 'string' && typeof currentTaskGroup.isDefault === 'string') {
return (currentTaskGroup._id === taskGroupId && glob.match(currentTaskGroup.isDefault, relativePath));
return (currentTaskGroup._id === taskGroupId && glob.match(currentTaskGroup.isDefault, relativePath, { ignoreCase: true }));
}
globTasksDetected = false;