diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-11 22:07:51 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-11 22:07:51 +0200 |
| commit | 1dca76e728a70b70ee8001c87407acf962e731cd (patch) | |
| tree | 4636d5b8769595de135bca8977b951d0a570da48 /internal/schedule/stats.go | |
| parent | a5529938536f7a530f0c55e5a82b16a4c80af5b4 (diff) | |
refactor a bit again
Diffstat (limited to 'internal/schedule/stats.go')
| -rw-r--r-- | internal/schedule/stats.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/schedule/stats.go b/internal/schedule/stats.go index b4f8153..a9d5ba4 100644 --- a/internal/schedule/stats.go +++ b/internal/schedule/stats.go @@ -81,13 +81,12 @@ func (s stats) targetHit(pauseDays, maxQueuedDays int) bool { pauseDays-- } if s.postsPerDay >= s.postsPerDayTarget { - _, _ = colour.Infoln("Posts per day target hit") + colour.Infoln("Posts per day target hit") return true } if s.lastPostDaysAgo <= float64(pauseDays) { - _, _ = colour.Infoln("Need to wait a bit longer as last post isn't", pauseDays, "days ago yet") + colour.Infoln("Need to wait a bit longer as last post isn't", pauseDays, "days ago yet") return true - } return false } |
