refactor: remove dangling else

This commit is contained in:
decentral1se 2022-02-01 18:52:55 +01:00
parent f0843f220a
commit d2a56656b6
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -247,9 +247,9 @@ func distribusify(c *cli.Context, root string, ignore []string) error {
if err != nil {
if strings.Contains(err.Error(), "permission denied") {
return filepath.SkipDir
} else {
return err
}
return err
}
for _, content := range contents {