Skip to content

Commit a65e550

Browse files
committed
lint
1 parent 95b5b4e commit a65e550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export class Commands {
397397
throw new Error("You are not logged in")
398398
}
399399

400-
let agent = treeItem.workspaceAgent
400+
const agent = treeItem.workspaceAgent
401401
if (!agent) {
402402
// `openFromSidebar` is only callable on agents or single-agent workspaces,
403403
// where this will always be set.
@@ -692,7 +692,7 @@ async function maybeCoderConnectAddr(
692692
const coderConnectHostname = `${agent}.${workspace}.${owner}.${hostnameSuffix}`
693693
try {
694694
const res = await promisify(lookup)(coderConnectHostname)
695-
return res.family == 6 && inRange(res.address, "fd60:627a:a42b::/48") ? coderConnectHostname : undefined
695+
return res.family === 6 && inRange(res.address, "fd60:627a:a42b::/48") ? coderConnectHostname : undefined
696696
} catch {
697697
return undefined
698698
}

0 commit comments

Comments
 (0)