Skip to content

Commit 4a03dc5

Browse files
Add await to migrateSessionToken call
Co-authored-by: Asher <ash@coder.com>
1 parent 437483e commit 4a03dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class Remote {
182182
const workspaceName = `${parts.username}/${parts.workspace}`
183183

184184
// Migrate "session_token" file to "session", if needed.
185-
this.storage.migrateSessionToken(parts.label)
185+
await this.storage.migrateSessionToken(parts.label)
186186

187187
// Get the URL and token belonging to this host.
188188
const { url: baseUrlRaw, token } = await this.storage.readCliConfig(parts.label)

0 commit comments

Comments
 (0)