Skip to content

Commit f23bc81

Browse files
committed
Add comment about initialize method
1 parent 7048944 commit f23bc81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extensions/ql-vscode/src/databases/github-database-module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export class GithubDatabaseModule extends DisposableObject {
1818
}
1919

2020
private async initialize(): Promise<void> {
21+
// Start the check and downloading the database asynchronously. We don't want to block on this
22+
// in extension activation since this makes network requests and waits for user input.
2123
void this.promptGitHubRepositoryDownload().catch((e: unknown) => {
2224
const error = redactableError(
2325
asError(e),

0 commit comments

Comments
 (0)