Fix dry run message crash (#4546)

This commit is contained in:
Klaus Post
2023-04-16 23:04:51 -07:00
committed by GitHub
parent 4bc0aa730d
commit 2ff87d64dc
+1 -1
View File
@@ -382,7 +382,7 @@ type removeOpts struct {
}
func printDryRunMsg(content *ClientContent, printModTime bool) {
if globalJSON {
if globalJSON || content == nil {
return
}
if printModTime {