Add comment about initialize method

This commit is contained in:
Koen Vlaswinkel
2023-11-16 16:36:50 +01:00
parent 704894471b
commit f23bc81712

View File

@@ -18,6 +18,8 @@ export class GithubDatabaseModule extends DisposableObject {
}
private async initialize(): Promise<void> {
// Start the check and downloading the database asynchronously. We don't want to block on this
// in extension activation since this makes network requests and waits for user input.
void this.promptGitHubRepositoryDownload().catch((e: unknown) => {
const error = redactableError(
asError(e),