File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ export class Commands {
397
397
throw new Error ( "You are not logged in" )
398
398
}
399
399
400
- let agent = treeItem . workspaceAgent
400
+ const agent = treeItem . workspaceAgent
401
401
if ( ! agent ) {
402
402
// `openFromSidebar` is only callable on agents or single-agent workspaces,
403
403
// where this will always be set.
@@ -692,7 +692,7 @@ async function maybeCoderConnectAddr(
692
692
const coderConnectHostname = `${ agent } .${ workspace } .${ owner } .${ hostnameSuffix } `
693
693
try {
694
694
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
696
696
} catch {
697
697
return undefined
698
698
}
You can’t perform that action at this time.
0 commit comments