From 1dca76e728a70b70ee8001c87407acf962e731cd Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 11 Dec 2024 22:07:51 +0200 Subject: refactor a bit again --- internal/run.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/run.go') diff --git a/internal/run.go b/internal/run.go index f6cb327..c0d8234 100644 --- a/internal/run.go +++ b/internal/run.go @@ -17,7 +17,7 @@ func Run(ctx context.Context, args config.Args) error { if !softError(err) { return err } - _, _ = colour.Infoln(err) + colour.Infoln(err) } for platformStr, sizeLimit := range args.Platforms { @@ -27,7 +27,7 @@ func Run(ctx context.Context, args config.Args) error { } if err := runPlatform(ctx, args, platform, sizeLimit); err != nil { if softError(err) { - _, _ = colour.Infoln(err) + colour.Infoln(err) continue } return err @@ -41,10 +41,10 @@ func runPlatform(ctx context.Context, args config.Args, platform platforms.Platf en, err := schedule.Run(args, platform) switch { case errors.Is(err, schedule.ErrNothingToSchedule): - _, _ = colour.Infoln("Nothing to be scheduled for", platform) + colour.Infoln("Nothing to be scheduled for", platform) return nil case errors.Is(err, schedule.ErrNothingQueued): - _, _ = colour.Infoln("Nothing queued for", platform) + colour.Infoln("Nothing queued for", platform) return nil case err != nil: return err -- cgit v1.2.3