diff --git a/app/build_tree.go b/app/build_tree.go index 69ae00f..2cdd083 100644 --- a/app/build_tree.go +++ b/app/build_tree.go @@ -40,6 +40,9 @@ func BuildTree(ctx context.Context, c Config) error { } filepath.Walk(absPath, func(p string, info os.FileInfo, err error) error { + if err != nil { + return err + } if info.IsDir() { return nil }