Skip to content

Commit 1dca35d

Browse files
authored
Merge pull request #195 from microsoft/joh/gradual-lizard
fix notebook auth bug
2 parents 8618ec8 + 373e343 commit 1dca35d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "GitHub Issue Notebooks for VS Code",
55
"publisher": "ms-vscode",
66
"preview": true,
7-
"version": "0.0.133",
7+
"version": "0.0.134",
88
"type": "module",
99
"repository": {
1010
"url": "https://github.com/microsoft/vscode-github-issue-notebooks"

src/extension/notebookProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ export class IssuesNotebookKernel {
7171
return;
7272
}
7373

74+
const octokit = await this.octokit.lib();
75+
7476
if (!this.octokit.isAuthenticated) {
7577
const atMe = isUsingAtMe(query, project);
7678
if (atMe > 0) {
@@ -106,7 +108,6 @@ export class IssuesNotebookKernel {
106108
exec.token.onCancellationRequested(_ => abortCtl.abort());
107109

108110
for (let queryData of allQueryData) {
109-
const octokit = await this.octokit.lib();
110111

111112
let page = 1;
112113
let count = 0;

0 commit comments

Comments
 (0)