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
Tested with same configuration, but I could not reproduce the bug. Tested using master branch, the result is the same, only Metrics/MethodLength offense.
Lint/ConstantResolution: Fully qualify this constant to avoid possibly ambiguous resolution.
Expected behavior
Tell me how to fix this linting issue.
Actual behavior
Same linting issue as when calling other libraries needing
::Dir[..]
Steps to reproduce the problem
given the code below:
Get this linter warning:
Lint/ConstantResolution: Fully qualify this constant to avoid possibly ambiguous resolution.
on line#7. I'm not sure how to fix this, or why it's being flagged.
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: