Skip to content

Commit ead9c44

Browse files
Bikappaper1234
authored and
Luca Bianconi
committed
Update buildcache/directory_cache.go
Co-authored-by: per1234 <[email protected]>
1 parent e0704ac commit ead9c44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildcache/directory_cache.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ func (dc *directoryCache) removeIfExpired(dir *paths.Path) {
8484
if lifeExpectancy > 0 {
8585
return
8686
}
87-
logrus.Tracef(`Purging cache directory "%s". Expired by %s\n`, dir, lifeExpectancy)
87+
logrus.Tracef(`Purging cache directory "%s". Expired by %s`, dir, lifeExpectancy)
8888
err := dir.RemoveAll()
8989

9090
if err != nil {
91-
logrus.Tracef(`Error while pruning cache directory "%s".\n%s\n`, dir, errors.WithStack(err))
91+
logrus.Tracef(`Error while pruning cache directory "%s": %s`, dir, errors.WithStack(err))
9292
}
9393
}
9494

0 commit comments

Comments
 (0)