Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
raspy opened this issue Oct 13, 2017 · 2 comments
Closed
Labels
Milestone

Comments

@raspy
Copy link
Contributor

raspy commented Oct 13, 2017

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.

@christiangalsterer christiangalsterer added this to the 3.1.0 milestone Oct 15, 2017
@christiangalsterer
Copy link
Owner

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

@christiangalsterer
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants