christiangalsterer/stash-filehooks-plugin

When multiple size rules use the same size, only last rule is effective

raspy opened this issue · 2 comments

raspy commented

If you provide more than one file size rule that use different regexes but the same size, only the last rule is effective. The main reason is that parsed rules are kept in map by allowed size, so the newly parsed rule overwrites previous rule that used the same size.

Thanks for spotting this. will fix it with a next release.

Fixed in 3.1.0 which is available now in the Atlassian Marketplace.