Skip to content

Commit c3b659c

Browse files
Change wording of "cached result found" log message (#146)
* Change wording of log message * Update cmd/src/actions_exec_logger.go Co-Authored-By: Christina Forney <christina@sourcegraph.com> * Update cmd/src/actions_exec_logger.go Co-Authored-By: Christina Forney <christina@sourcegraph.com> Co-authored-by: Christina Forney <christinaforney.web@gmail.com>
1 parent fcea1d5 commit c3b659c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/src/actions_exec_logger.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ func (a *actionLogger) Infof(format string, args ...interface{}) {
102102
func (a *actionLogger) RepoCacheHit(repo ActionRepo, patchProduced bool) {
103103
if a.verbose {
104104
if patchProduced {
105-
fmt.Fprintf(os.Stderr, "%s -> Cached result with patch found.\n", boldGreen.Sprint(repo.Name))
105+
fmt.Fprintf(os.Stderr, "%s -> Cached result found: using cached diff.\n", boldGreen.Sprint(repo.Name))
106106
return
107107
}
108108

109-
fmt.Fprintf(os.Stderr, "%s -> Cached result without patch found.\n", green.Sprint(repo.Name))
109+
fmt.Fprintf(os.Stderr, "%s -> Cached result found: no diff produced for this repository.\n", green.Sprint(repo.Name))
110110
}
111111
}
112112

0 commit comments

Comments
 (0)