From c76ba11dc4ae23ab17115b87d0d2b9711ffdbf01 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 Sep 2024 12:08:58 +0300 Subject: fix this --- internal/run.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/run.go') diff --git a/internal/run.go b/internal/run.go index 427384d..ea70bec 100644 --- a/internal/run.go +++ b/internal/run.go @@ -2,6 +2,7 @@ package internal import ( "context" + "errors" "log" "codeberg.org/snonux/gos/internal/config" @@ -20,8 +21,10 @@ func Run(ctx context.Context, args config.Args) error { case nil: log.Println("Scheduling", path) // TODO: Implement action here to post it - case schedule.NothingToSchedule: + case schedule.ErrNothingToSchedule: log.Println("Nothing to be scheduled for", platform) + case schedule.ErrNothingQueued + log.Println("Nothing queued for", platform) default: return err } -- cgit v1.2.3