- for _, fi := range fis {
- pth := path.Join(root, fi.Name())
- pthRel := cwdMustRel(root, fi.Name())
- if fi.IsDir() {
- if fi.Name() == RedoDir {
+ for _, entry := range entries {
+ pth := path.Join(root, entry.Name())
+ pthRel := cwdMustRel(root, entry.Name())
+ if entry.IsDir() {
+ if entry.Name() == RedoDir {