diff --git a/github-authentication-sample/src/credentials.ts b/github-authentication-sample/src/credentials.ts index 1866f545d..b8b6d73f2 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() {