mirror of
https://github.com/restic/restic.git
synced 2026-11-19 04:05:21 +00:00
Add changelog and fix lint error
This commit is contained in:
2 files changed
+13
-2
No files matched your search
@@ -65,7 +65,6 @@ func CombineErrors(errors ...error) (err error) {
|
||||
return nil // If no errors, return nil
|
||||
} else if !multipleErrors {
|
||||
return err // If only one error, return that first error
|
||||
} else {
|
||||
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
|
||||
}
|
||||
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
|
||||
}
|
||||
Reference in new issue
Block a user