Skip to content

Commit

Permalink
Only print empty cache message in terminal output (#47)
Browse files Browse the repository at this point in the history
only print empty cache list in terminal output
  • Loading branch information
ForsakenHarmony committed Jan 18, 2023
1 parent 9adb9e8 commit 47113d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47113d1

Please sign in to comment.