mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 20:17:17 +00:00
1 parent
0087beefe1
commit
9489272681
1 file changed
+3
-1
+3
-1
@@ -487,7 +487,9 @@ func SymbolicWalk(fs afero.Fs, root string, walker filepath.WalkFunc) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, fi := range rootContent {
|
for _, fi := range rootContent {
|
||||||
afero.Walk(fs, filepath.Join(root, fi.Name()), walker)
|
if err := afero.Walk(fs, filepath.Join(root, fi.Name()), walker); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in new issue
Block a user