File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,10 @@ func (b *Builder) logIfVerbose(warn bool, msg string) {
352
352
353
353
// Build fixdoc
354
354
func (b * Builder ) Build () error {
355
- b .Progress .AddSubSteps (6 /** preprocess **/ + 21 /** build **/ )
355
+ b .Progress .AddSubSteps (6 + // preprocess
356
+ 18 + // build
357
+ 1 , // size
358
+ )
356
359
defer b .Progress .RemoveSubSteps ()
357
360
358
361
if err := b .preprocess (); err != nil {
@@ -362,15 +365,10 @@ func (b *Builder) Build() error {
362
365
buildErr := b .build ()
363
366
364
367
b .libsDetector .PrintUsedAndNotUsedLibraries (buildErr != nil )
365
- b .Progress .CompleteStep ()
366
-
367
368
b .printUsedLibraries (b .libsDetector .ImportedLibraries ())
368
- b .Progress .CompleteStep ()
369
-
370
369
if buildErr != nil {
371
370
return buildErr
372
371
}
373
- b .Progress .CompleteStep ()
374
372
375
373
if err := b .size (); err != nil {
376
374
return err
You can’t perform that action at this time.
0 commit comments