Skip to content

Commit 7f9a9b0

Browse files
jsjoeiocode-asher
andauthored
Update test/utils/helpers.ts
Co-authored-by: Asher <[email protected]>
1 parent dff6a4c commit 7f9a9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function isAddressInfo(address: unknown): address is net.AddressInfo {
128128
* Otherwise, return the direct address of code-server.
129129
*/
130130
export async function getMaybeProxiedCodeServer(codeServer: CodeServerPage | CodeServer): Promise<string> {
131-
let address = await codeServer.address()
131+
const address = await codeServer.address()
132132
if (process.env.USE_PROXY === "1") {
133133
const uri = new URL(address)
134134
return `http://${uri.hostname}:${REVERSE_PROXY_PORT}/${uri.port}/${REVERSE_PROXY_BASE_PATH}/`

0 commit comments

Comments
 (0)