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
Closed

New cop: duplicated task definition #13

pocke opened this issue Sep 20, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@pocke
Copy link
Collaborator

pocke 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 New feature or request label Sep 20, 2019
@pocke pocke closed this as completed in 516c917 Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant