Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit 47113d1

Browse files
Only print empty cache message in terminal output (#47)
only print empty cache list in terminal output
1 parent 9adb9e8 commit 47113d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func NewCmdList() *cobra.Command {
6767
fmt.Printf("Showing %d of %d cache entries in %s/%s\n\n", displayedEntriesCount(len(caches), f.Limit), totalCaches, repo.Owner(), repo.Name())
6868
}
6969
internal.PrettyPrintCacheList(caches)
70-
} else {
70+
} else if isTerminalOutput {
7171
fmt.Printf("There are no Actions caches currently present in this repo or for the provided filters\n")
7272
}
7373
return nil

0 commit comments

Comments
 (0)