aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <michael.mure@consensys.net>2019-02-20 21:58:29 +0100
committerMichael Muré <michael.mure@consensys.net>2019-02-20 21:58:29 +0100
commitd380b3c16b4321d9262a49e065b54f0525da7187 (patch)
tree1cdc5381da88960b49527d9098cee3d48fe6f9fc /cache/repo_cache.go
parent59ea2e018e05e7a4033d572f819f4a696ab74397 (diff)
downloadgit-bug-d380b3c16b4321d9262a49e065b54f0525da7187.tar.gz
cache: output the build info message on stderr to avoid breaking scripts
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index 2cb6a030..c38eeeeb 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -194,7 +194,7 @@ func cacheFilePath(repo repository.Repo) string {
}
func (c *RepoCache) buildCache() error {
- fmt.Printf("Building bug cache... ")
+ _, _ = fmt.Fprintf(os.Stderr, "Building bug cache... ")
c.excerpts = make(map[string]*BugExcerpt)
@@ -209,7 +209,7 @@ func (c *RepoCache) buildCache() error {
c.excerpts[b.Bug.Id()] = NewBugExcerpt(b.Bug, &snap)
}
- fmt.Println("Done.")
+ _, _ = fmt.Fprintln(os.Stderr, "Done.")
return nil
}