mirror of https://github.com/helm/helm
Concurrent calls to `Rules.Ignore` race when a `.helmignore` pattern starts with `/`: each match writes the stripped pattern back into a captured variable. Strip the prefix while constructing the matcher, leaving evaluation read-only. A concurrent regression test checks that the root file matches and the same name in a subdirectory does not. Signed-off-by: Alexandre Rodrigues <alexandre3ylf@gmail.com>pull/32658/head
parent
c3bb7ad28e
commit
3ff4bec535
Loading…
Reference in new issue