Don't show progress when choosing repo
This commit is contained in:
@@ -119,14 +119,15 @@ export async function promptImportGithubDatabase(
|
||||
}
|
||||
|
||||
export async function askForGitHubRepo(
|
||||
progress: ProgressCallback,
|
||||
progress?: ProgressCallback,
|
||||
suggestedValue?: string,
|
||||
): Promise<string | undefined> {
|
||||
progress({
|
||||
message: "Choose repository",
|
||||
step: 1,
|
||||
maxStep: 2,
|
||||
});
|
||||
progress &&
|
||||
progress({
|
||||
message: "Choose repository",
|
||||
step: 1,
|
||||
maxStep: 2,
|
||||
});
|
||||
|
||||
const options: InputBoxOptions = {
|
||||
title:
|
||||
|
||||
@@ -208,7 +208,7 @@ export class SkeletonQueryWizard {
|
||||
|
||||
const githubRepoNwo = QUERY_LANGUAGE_TO_DATABASE_REPO[this.language];
|
||||
const chosenRepo = await databaseFetcher.askForGitHubRepo(
|
||||
this.progress,
|
||||
undefined,
|
||||
githubRepoNwo,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user