Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This resolves an Uninitialized Constant error coming from ruby, because `ERBLint::Linter::Primer::` is a namespace that exists. This error was not invoked before because the only liner in that namespace - `ERBLint::Linter::Primer::Accessibility::TooltippedMigration` in the `tooltipped_migration.rb` file - would load _after_ `argument_mappers/label.rb` and `label_component_migration_counter.rb`. The introduction of `ERBLint::Linter::Primer::Accessibility::DetailsMenuMigration` in the `details_menu_migration.rb` file would load _before_ `label_component_migration_counter.rb`, populating the `ERBLint::Linter::Primer` namespace, which then causes the failed scope lookup. Prepending `::` to these values tells ruby to always look in the root scope, not any local constants.
- Loading branch information