From 03836615c849091e2045cdd9cd25bfa2ce45cf91 Mon Sep 17 00:00:00 2001 From: Andrew Nolte Date: Sun, 13 Oct 2024 23:44:52 -0400 Subject: [PATCH] fix lint --- src/sidebar/ProjectComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sidebar/ProjectComponent.ts b/src/sidebar/ProjectComponent.ts index 74847e4..8d31bf5 100644 --- a/src/sidebar/ProjectComponent.ts +++ b/src/sidebar/ProjectComponent.ts @@ -335,7 +335,7 @@ export class ProjectComponent // try to get top module from path if root not set const topStr = parts[0] - if (rootItem === undefined && !(this.top?.instance.name == topStr)) { + if (rootItem === undefined && !(this.top?.instance.name === topStr)) { if (ext.index.moduleMap.has(topStr)) { const topUri = ext.index.moduleMap.get(topStr) if (topUri !== undefined) {