Shorten check for progress

Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com>
This commit is contained in:
Elena Tanasoiu
2023-04-12 16:19:55 +01:00
parent de4afae0a0
commit 6fc6f399fd

View File

@@ -122,12 +122,11 @@ export async function askForGitHubRepo(
progress?: ProgressCallback,
suggestedValue?: string,
): Promise<string | undefined> {
progress &&
progress({
message: "Choose repository",
step: 1,
maxStep: 2,
});
progress?.({
message: "Choose repository",
step: 1,
maxStep: 2,
});
const options: InputBoxOptions = {
title: