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

Closed
pocke opened this issue Sep 20, 2019 · 0 comments

Comments

@pocke
Copy link
Member

commented Sep 20, 2019

# Rakefile

task :foo do
  p 'foo'
end

task :foo do
  p 'foo2'
end

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
Projects
None yet
1 participant
You can’t perform that action at this time.