Fix dry run message crash (#4546)
This commit is contained in:
+1
-1
@@ -382,7 +382,7 @@ type removeOpts struct {
|
||||
}
|
||||
|
||||
func printDryRunMsg(content *ClientContent, printModTime bool) {
|
||||
if globalJSON {
|
||||
if globalJSON || content == nil {
|
||||
return
|
||||
}
|
||||
if printModTime {
|
||||
|
||||
Reference in New Issue
Block a user