Skip to content

Commit 7414004

Browse files
Shorten check for progress
Co-authored-by: Koen Vlaswinkel <[email protected]>
1 parent de4afae commit 7414004

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extensions/ql-vscode/src/databaseFetcher.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ export async function askForGitHubRepo(
122122
progress?: ProgressCallback,
123123
suggestedValue?: string,
124124
): Promise<string | undefined> {
125-
progress &&
126-
progress({
125+
progress?.({
127126
message: "Choose repository",
128127
step: 1,
129128
maxStep: 2,

0 commit comments

Comments
 (0)