mirror of https://github.com/helm/helm
Save the original symlink info before os.Lstat(resolved) overwrites it, so walkFn receives the symlink's FileInfo (not nil) on error. This allows .helmignore pattern matching to work correctly for broken symlinks. Signed-off-by: Kartik Suryavanshi <kartik.suryavanshi@outlook.com> Signed-off-by: Kartik Suryavanshi <158498247+KartikSuryavanshi@users.noreply.github.com>pull/32264/head
parent
67e71e18ed
commit
bf2c8c4af0
Loading…
Reference in new issue