Skip to content

Commit

Permalink
commands/prune: ensure that the logger is closed before exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
ttaylorr committed Dec 2, 2017
1 parent bb43fc0 commit 4b33121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/command_prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func prune(fetchPruneConfig lfs.FetchPruneConfig, verifyRemote, dryRun, verbose
pruneDeleteFiles(prunableObjects, percentage)
}

logger.Close()
}

func pruneCheckVerified(prunableObjects []string, reachableObjects, verifiedObjects tools.StringSet) {
Expand Down

0 comments on commit 4b33121

Please sign in to comment.