From 757fbbd02ceed648a547e7f19d01c61e56d60df3 Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Tue, 5 Dec 2023 11:26:53 -0800 Subject: [PATCH] Await `setOctokit` (#929) Fixes https://github.com/microsoft/vscode-extension-samples/issues/921 --- github-authentication-sample/src/credentials.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-authentication-sample/src/credentials.ts b/github-authentication-sample/src/credentials.ts index 1866f545..b8b6d73f 100644 --- a/github-authentication-sample/src/credentials.ts +++ b/github-authentication-sample/src/credentials.ts @@ -11,7 +11,7 @@ export class Credentials { async initialize(context: vscode.ExtensionContext): Promise { this.registerListeners(context); - this.setOctokit(); + await this.setOctokit(); } private async setOctokit() {