We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rubocop -a
The following example is broken after running rubocop -a:
def foo bar 1, { 'a' => 1, 'b' => 2, } end def bar(a,b) puts a.inspect puts b.inspect end foo
it's converted to this:
def foo bar 1, 'a' => 1, 'b' => 2, end def bar(a,b) puts a.inspect puts b.inspect end foo
The text was updated successfully, but these errors were encountered:
Ran into this today too. Looks like we need to omit the trailing comma when removing redundant braces.
-set :default_env, { - path: "/opt/rbenv/shims:/opt/rbenv/bin:$PATH", -} -set :migrate_env, { - 'DEPLOY' => true -} +set :default_env, path: "/opt/rbenv/shims:/opt/rbenv/bin:$PATH", +set :migrate_env, 'DEPLOY' => true
Sorry, something went wrong.
This has been fixed in #1881 but I made a mistake in the reference to this issue, which is why it's still open. Closing now.
jonas054
No branches or pull requests
The following example is broken after running
rubocop -a
:it's converted to this:
The text was updated successfully, but these errors were encountered: