File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments