We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca9d9a commit d9f8722Copy full SHA for d9f8722
legacy/builder/container_setup.go
@@ -23,14 +23,13 @@ import (
23
type ContainerSetupHardwareToolsLibsSketchAndProps struct{}
24
25
func (s *ContainerSetupHardwareToolsLibsSketchAndProps) Run(ctx *types.Context) error {
26
- // total number of steps in this container: 4
27
- ctx.Progress.AddSubSteps(4)
28
- defer ctx.Progress.RemoveSubSteps()
29
commands := []types.Command{
30
&AddAdditionalEntriesToContext{},
31
&FailIfBuildPathEqualsSketchPath{},
32
&LibrariesLoader{},
33
}
+ ctx.Progress.AddSubSteps(len(commands))
+ defer ctx.Progress.RemoveSubSteps()
34
for _, command := range commands {
35
PrintRingNameIfDebug(ctx, command)
36
err := command.Run(ctx)
0 commit comments