Rename GitHubDatabaseModule to GitHubDatabasesModule
This commit is contained in:
@@ -27,7 +27,7 @@ import {
|
||||
} from "./updates";
|
||||
import { Octokit } from "@octokit/rest";
|
||||
|
||||
export class GitHubDatabaseModule extends DisposableObject {
|
||||
export class GitHubDatabasesModule extends DisposableObject {
|
||||
private readonly config: GitHubDatabaseConfig;
|
||||
|
||||
private constructor(
|
||||
@@ -46,17 +46,17 @@ export class GitHubDatabaseModule extends DisposableObject {
|
||||
databaseManager: DatabaseManager,
|
||||
databaseStoragePath: string,
|
||||
cliServer: CodeQLCliServer,
|
||||
): Promise<GitHubDatabaseModule> {
|
||||
const githubDatabaseModule = new GitHubDatabaseModule(
|
||||
): Promise<GitHubDatabasesModule> {
|
||||
const githubDatabasesModule = new GitHubDatabasesModule(
|
||||
app,
|
||||
databaseManager,
|
||||
databaseStoragePath,
|
||||
cliServer,
|
||||
);
|
||||
app.subscriptions.push(githubDatabaseModule);
|
||||
app.subscriptions.push(githubDatabasesModule);
|
||||
|
||||
await githubDatabaseModule.initialize();
|
||||
return githubDatabaseModule;
|
||||
await githubDatabasesModule.initialize();
|
||||
return githubDatabasesModule;
|
||||
}
|
||||
|
||||
private async initialize(): Promise<void> {
|
||||
@@ -1 +1 @@
|
||||
export * from "./github-database-module";
|
||||
export * from "./github-databases-module";
|
||||
|
||||
@@ -137,7 +137,7 @@ import { QueriesModule } from "./queries-panel/queries-module";
|
||||
import { OpenReferencedFileCodeLensProvider } from "./local-queries/open-referenced-file-code-lens-provider";
|
||||
import { LanguageContextStore } from "./language-context-store";
|
||||
import { LanguageSelectionPanel } from "./language-selection-panel/language-selection-panel";
|
||||
import { GitHubDatabaseModule } from "./databases/github-databases";
|
||||
import { GitHubDatabasesModule } from "./databases/github-databases";
|
||||
|
||||
/**
|
||||
* extension.ts
|
||||
@@ -871,7 +871,7 @@ async function activateWithInstalledDistribution(
|
||||
),
|
||||
);
|
||||
|
||||
await GitHubDatabaseModule.initialize(
|
||||
await GitHubDatabasesModule.initialize(
|
||||
app,
|
||||
dbm,
|
||||
getContextStoragePath(ctx),
|
||||
|
||||
Reference in New Issue
Block a user