We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0704ac commit ead9c44Copy full SHA for ead9c44
buildcache/directory_cache.go
@@ -84,11 +84,11 @@ func (dc *directoryCache) removeIfExpired(dir *paths.Path) {
84
if lifeExpectancy > 0 {
85
return
86
}
87
- logrus.Tracef(`Purging cache directory "%s". Expired by %s\n`, dir, lifeExpectancy)
+ logrus.Tracef(`Purging cache directory "%s". Expired by %s`, dir, lifeExpectancy)
88
err := dir.RemoveAll()
89
90
if err != nil {
91
- logrus.Tracef(`Error while pruning cache directory "%s".\n%s\n`, dir, errors.WithStack(err))
+ logrus.Tracef(`Error while pruning cache directory "%s": %s`, dir, errors.WithStack(err))
92
93
94
0 commit comments