We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e4a476 commit eef4d57Copy full SHA for eef4d57
1 file changed
src/utils/index.ts
@@ -815,7 +815,7 @@ export function parseClassMemberDefinition(
815
*/
816
export function uriIsAncestorOf(uri1: vscode.Uri, uri2: vscode.Uri): boolean {
817
return (
818
- uri1.with({ path: "" }).toString == uri2.with({ path: "" }).toString &&
+ uri1.with({ path: "" }).toString() == uri2.with({ path: "" }).toString() &&
819
// uri2.path "properly" starts with uri1.path.
820
uri2.path.startsWith(uri1.path) &&
821
(uri1.path.endsWith("/") || [undefined, "/"].includes(uri2.path.at(uri1.path.length)))
0 commit comments