mirror of
https://github.com/wahyd4/node-prune.git
synced 2026-08-09 05:06:18 +10:00
change to using INFO level for prunes
easier to see
This commit is contained in:
@@ -27,6 +27,7 @@ var DefaultFiles = []string{
|
||||
".travis.yml",
|
||||
"LICENSE.txt",
|
||||
"LICENSE",
|
||||
".yarn-integrity",
|
||||
}
|
||||
|
||||
// DefaultDirectories pruned.
|
||||
@@ -144,7 +145,7 @@ func (p Pruner) Prune() (*Stats, error) {
|
||||
return filepath.SkipDir
|
||||
}
|
||||
|
||||
ctx.Debug("prune")
|
||||
ctx.Info("prune")
|
||||
stats.FilesRemoved++
|
||||
stats.SizeRemoved += info.Size()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user