diff options
| author | Paul Buetow <paul@buetow.org> | 2025-01-06 22:32:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-01-06 22:32:36 +0200 |
| commit | b9beca8449a10ba53807ecfc7d4b15cb6f14e82e (patch) | |
| tree | 4fbb030ff4e7d686b642e4a0bac90362597f07d5 /internal/queue | |
| parent | 4b34876fb23e42dcc1d9414cafa367147de42ad7 (diff) | |
refactor colors a bit
Diffstat (limited to 'internal/queue')
| -rw-r--r-- | internal/queue/queue.go | 4 |
1 files changed, 1 insertions, 3 deletions
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 } |
