Skip to content

Commit 75bfdbe

Browse files
author
Benjamin Pasero
authored
1 parent 9bc5425 commit 75bfdbe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/vs/base/common/resources.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ export class ExtUri implements IExtUri {
176176
if (uri1.scheme !== uri2.scheme || !isEqualAuthority(uri1.authority, uri2.authority)) {
177177
return false;
178178
}
179+
if (uri1.toString() === uri2.toString()) {
180+
// TODO@jrieken see https://github.com/microsoft/vscode/issues/98934
181+
return true;
182+
}
179183
const p1 = uri1.path, p2 = uri2.path;
180184
return (p1 === p2 || this._ignorePathCasing(uri1) && equalsIgnoreCase(p1, p2)) && uri1.query === uri2.query && (ignoreFragment || uri1.fragment === uri2.fragment);
181185
}

0 commit comments

Comments
 (0)