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

New cop: duplicated task definition #13

pocke opened this issue Sep 20, 2019 · 0 comments


Copy link

commented Sep 20, 2019

# Rakefile

task :foo do
  p 'foo'

task :foo do
  p 'foo2'

rake foo prints "foo" and "foo2".
I think it is not expected sometimes.
And we can merge the task definitions to one.

So we should have a cop to detect the code.

@pocke pocke added the enhancement label Sep 20, 2019
@pocke pocke closed this in 516c917 Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.