mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
0087beefe1
commit
9489272681
1 changed files with 3 additions and 1 deletions
|
@ -487,7 +487,9 @@ func SymbolicWalk(fs afero.Fs, root string, walker filepath.WalkFunc) error {
|
|||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue