mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 02:30:46 +00: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