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
dev-cmd/bottle: fix positioning of bottle block in some cases #7875
Conversation
Just curious, the brew/Library/Homebrew/rubocops/components_order.rb Lines 18 to 33 in 1b1e3b4
Namely: Should these be added here as well? Also, can |
I will test the others.
Probably. |
5eb3adc
to
d2146b8
Compare
Regex on code is kinda horrible to do, but doing anything else is a bigger task than I expected to do here. |
d2146b8
to
bfbcf22
Compare
bfbcf22
to
0e3f22e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. This is probably something we should consider doing with brew style --fix
instead. Pretty sure if you write the bottle block basically anywhere it'll put it in the right place.
Yeah, that's an idea. I'll merge as is to mitigate the impact it's currently having though. |
brew style
with your changes locally?brew tests
with your changes locally?Fixes the bottle commit breaking
brew style
when the license line or livecheck block is included.