Skip to content

Fix Style/ModuleMemberExistenceCheck offense#570

Open
tagliala wants to merge 1 commit intoCasecommons:masterfrom
tagliala:chore/fix-standard-offense
Open

Fix Style/ModuleMemberExistenceCheck offense#570
tagliala wants to merge 1 commit intoCasecommons:masterfrom
tagliala:chore/fix-standard-offense

Conversation

@tagliala
Copy link

@tagliala tagliala commented Mar 19, 2026

Fix an error in the linting process:

standard: Use Ruby Standard Style (https://github.com/standardrb/standard)
  lib/pg_search/scope_options.rb:171:29: Style/ModuleMemberExistenceCheck: Use `include?(PgSearchRankTableAliasing)` instead.
standard: Run `rake standard:fix` to potentially fix one problem.
rake aborted!

Ran rake standard:fix to fix the problem


Ref: https://github.com/Casecommons/pg_search/actions/runs/22261684761/job/64400888685#step:7:24

Fix an error in the linting process:
```
standard: Use Ruby Standard Style (https://github.com/standardrb/standard)
  lib/pg_search/scope_options.rb:171:29: Style/ModuleMemberExistenceCheck: Use `include?(PgSearchRankTableAliasing)` instead.
standard: Run `rake standard:fix` to potentially fix one problem.
rake aborted!
```

Ran `rake standard:fix` to fix the problem
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.

1 participant