Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
toolmantim committed Mar 18, 2024
1 parent 382b0a4 commit ba040a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vscode/src/configuration.ts
Expand Up @@ -187,7 +187,8 @@ export const getFullConfig = async (): Promise<ConfigurationWithAccessToken> =>
const config = getConfiguration()
const isTesting = process.env.CODY_TESTING === 'true'
const serverEndpoint =
localStorage?.getEndpoint() || (isTesting ? `http://localhost:4930${process.env.VITEST_POOL_ID || 0}/` : DOTCOM_URL.href)
localStorage?.getEndpoint() ||
(isTesting ? `http://localhost:4930${process.env.VITEST_POOL_ID || 0}/` : DOTCOM_URL.href)
const accessToken = (await getAccessToken()) || null
return { ...config, accessToken, serverEndpoint }
}
Expand Down

0 comments on commit ba040a3

Please sign in to comment.