Remove redundant if ...; err != nil; return pattern

This commit is contained in:
Michael Eischer
2023-05-18 21:15:45 +02:00
parent 6ed73ed408
commit 319087c056
3 changed files with 3 additions and 14 deletions
+1 -5
View File
@@ -63,11 +63,7 @@ directories in an encrypted repository stored on different backends.
// run the debug functions for all subcommands (if build tag "debug" is
// enabled)
if err := runDebug(); err != nil {
return err
}
return nil
return runDebug()
},
}