You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be clear, concise and precise in your description of the problem.
Open an issue with a descriptive title and a summary in grammatically correct,
complete sentences.
Use the template below when reporting bugs. Please, make sure that
you're running the latest stable RuboCop and that the problem you're reporting
hasn't been reported (and potentially fixed) already.
Before filing the ticket you should replace all text above the horizontal
rule with your own words.
Expected behavior
Given a rake task that looks like this:
task :foobar, [:username, :password] do |task, args|
The auto-corrected line should read
task :foobar, [:username, :password] => [:environment] do |task, args|
Be clear, concise and precise in your description of the problem.
Open an issue with a descriptive title and a summary in grammatically correct,
complete sentences.
Use the template below when reporting bugs. Please, make sure that
you're running the latest stable RuboCop and that the problem you're reporting
hasn't been reported (and potentially fixed) already.
Before filing the ticket you should replace all text above the horizontal
rule with your own words.
Expected behavior
Given a rake task that looks like this:
The auto-corrected line should read
This is the correct syntax as seen in http://docs.seattlerb.org/rake/doc/rakefile_rdoc.html#label-Tasks+that+Expect+Parameters
Actual behavior
The auto-corrected line looks like this:
The auto-correct line results in a syntax error.
Steps to reproduce the problem
rubocop -A path/to/rake_task_file.rb
.RuboCop version
The text was updated successfully, but these errors were encountered: