1 Commits

Author SHA1 Message Date
Leah
47113d1159 Only print empty cache message in terminal output (#47)
Some checks failed
ci-workflow / build (macos-latest) (push) Has been cancelled
ci-workflow / build (ubuntu-latest) (push) Has been cancelled
ci-workflow / build (windows-latest) (push) Has been cancelled
release / release (push) Has been cancelled
only print empty cache list in terminal output
2023-01-19 03:38:15 +05:30

View File

@@ -67,7 +67,7 @@ func NewCmdList() *cobra.Command {
fmt.Printf("Showing %d of %d cache entries in %s/%s\n\n", displayedEntriesCount(len(caches), f.Limit), totalCaches, repo.Owner(), repo.Name())
}
internal.PrettyPrintCacheList(caches)
} else {
} else if isTerminalOutput {
fmt.Printf("There are no Actions caches currently present in this repo or for the provided filters\n")
}
return nil