refactor: return nil as i've no idea what that is doing
This commit is contained in:
parent
a9dd56b31a
commit
312d760002
@ -252,7 +252,7 @@ func distribusify(c *cli.Context, root string, ignore []string) error {
|
|||||||
contents, err := ioutil.ReadDir(absPath)
|
contents, err := ioutil.ReadDir(absPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Debugf("unable to read %s", absPath)
|
logrus.Debugf("unable to read %s", absPath)
|
||||||
return filepath.SkipDir
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, content := range contents {
|
for _, content := range contents {
|
||||||
|
Loading…
Reference in New Issue
Block a user