Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed Oct 23, 2024
1 parent c9341b3 commit 7ef5e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -536,7 +536,7 @@ export class ProjectComponent
})
}

static RE_INSTANCE_PATHS = /[\w\$]+(\.[\w\$]+)+/g
static RE_INSTANCE_PATHS = /[\w$]+(\.[\w$]+)+/g

provideTerminalLinks(
context: vscode.TerminalLinkContext,
Expand Down

0 comments on commit 7ef5e43

Please sign in to comment.