Skip to content

Commit

Permalink
fix regression exceeding 100% status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-perugini committed Sep 1, 2023
1 parent 34f52c3 commit 57dc8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (s *Builder) Run(ctx *types.Context) error {
&RecipeByPrefixSuffixRunner{Prefix: "recipe.hooks.postbuild", Suffix: ".pattern", SkipIfOnlyUpdatingCompilationDatabase: true},
}

ctx.Progress.AddSubSteps(len(commands) + 4)
ctx.Progress.AddSubSteps(len(commands) + 5)
defer ctx.Progress.RemoveSubSteps()

for _, command := range commands {
Expand Down

0 comments on commit 57dc8d7

Please sign in to comment.