Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed Oct 14, 2024
1 parent e5cc36c commit 0383661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebar/ProjectComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0383661

Please sign in to comment.