Use progress correctly

By setting maxSteps to the correct number of steps.
This commit is contained in:
Elena Tanasoiu
2023-04-12 15:25:14 +00:00
parent e298f2ba09
commit 9f04c712e0

View File

@@ -117,7 +117,7 @@ export class SkeletonQueryWizard {
this.progress({
message: "Choose language",
step: 1,
maxStep: 1,
maxStep: 3,
});
return await askForLanguage(this.cliServer, false);
@@ -131,7 +131,7 @@ export class SkeletonQueryWizard {
this.progress({
message: "Creating skeleton QL pack around query",
step: 2,
maxStep: 2,
maxStep: 3,
});
try {
@@ -159,7 +159,7 @@ export class SkeletonQueryWizard {
message:
"Skeleton query pack already exists. Creating additional query example file.",
step: 2,
maxStep: 2,
maxStep: 3,
});
try {