File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,15 @@ export async function promptImportGithubDatabase(
119119}
120120
121121export async function askForGitHubRepo (
122- progress : ProgressCallback ,
122+ progress ? : ProgressCallback ,
123123 suggestedValue ?: string ,
124124) : Promise < string | undefined > {
125- progress ( {
126- message : "Choose repository" ,
127- step : 1 ,
128- maxStep : 2 ,
129- } ) ;
125+ progress &&
126+ progress ( {
127+ message : "Choose repository" ,
128+ step : 1 ,
129+ maxStep : 2 ,
130+ } ) ;
130131
131132 const options : InputBoxOptions = {
132133 title :
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ export class SkeletonQueryWizard {
208208
209209 const githubRepoNwo = QUERY_LANGUAGE_TO_DATABASE_REPO [ this . language ] ;
210210 const chosenRepo = await databaseFetcher . askForGitHubRepo (
211- this . progress ,
211+ undefined ,
212212 githubRepoNwo ,
213213 ) ;
214214
You can’t perform that action at this time.
0 commit comments