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

[Fix #1389] Handle TypeError caused by an array in Rails/RootPathname cop #1416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ydakuka
Copy link

@ydakuka ydakuka commented Jan 18, 2025

Fix #1389


  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.

@ydakuka ydakuka changed the title [Fix rubocop#1389] Handle TypeError caused by an array in RootPathname cop [Fix #1389] Handle TypeError caused by an array in RootPathname cop Jan 18, 2025
@ydakuka ydakuka force-pushed the fix/typeerror_in_the_root_pathname_methods_cop branch from 5262500 to ffc492a Compare January 18, 2025 16:03
@ydakuka ydakuka changed the title [Fix #1389] Handle TypeError caused by an array in RootPathname cop [Fix #1389] Handle TypeError caused by an array in Rails/RootPathname cop Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The suggestions of the FilePath cop cause a TypeError if %w is used to specify the path
1 participant