aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/path.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go
index 5a8694f15..a31f33948 100644
--- a/helpers/path.go
+++ b/helpers/path.go
@@ -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