We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe15c5 commit e487be6Copy full SHA for e487be6
1 file changed
src/vs/base/common/resources.ts
@@ -317,7 +317,8 @@ export class ResourceGlobMatcher {
317
matches(resource: URI): boolean {
318
const rootExpression = this.expressionsByRoot.findSubstr(resource.toString());
319
if (rootExpression) {
320
- if (!!rootExpression.expression(relativePath(rootExpression.root, resource))) {
+ const path = relativePath(rootExpression.root, resource);
321
+ if (path && !!rootExpression.expression(path)) {
322
return true;
323
}
324
0 commit comments