From b9beca8449a10ba53807ecfc7d4b15cb6f14e82e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 6 Jan 2025 22:32:36 +0200 Subject: refactor colors a bit --- internal/queue/queue.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/queue') diff --git a/internal/queue/queue.go b/internal/queue/queue.go index 43a017c..cc9de9c 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -50,8 +50,7 @@ func queueEntries(args config.Args) error { return err } if !hasHashtags { - colour.Warnf("The following entry has got no hashtags:") - fmt.Printf("\n") + colour.Warnln("The following entry has got no hashtags:") } if !hasHashtags || en.HasTag("ask") { if err := en.FileAction("Do you want to queue this"); err != nil { @@ -112,7 +111,6 @@ func queuePlatforms(args config.Args) error { // Keep queued items in trash for a while. trashPath := filepath.Join(trashDir, strings.TrimSuffix(filepath.Base(en.Path), ".queued")+".trash") colour.Infof("Trashing %s -> %s", en.Path, trashPath) - fmt.Print("\n") if err := oi.EnsureParentDir(trashPath); err != nil { return err } -- cgit v1.2.3