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

module-getter rule is being too aggressive #446

Closed
alfaproject opened this issue Mar 2, 2017 · 0 comments
Closed

module-getter rule is being too aggressive #446

alfaproject opened this issue Mar 2, 2017 · 0 comments
Assignees
Milestone

Comments

@alfaproject
Copy link

There was a similar issue fixed before where the module-getter rule was triggered when a dependency has a config method, and now I stumbled upon the same thing, but with a run method.

Example:

angular.module('app', []).controller('ctrl', function(ReportService) {
  ReportService.run(); // module-getter rule is triggered here
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants