Skip to content

Fix Style/ModuleMemberExistenceCheck offense#570

Merged
nertzy merged 1 commit intoCasecommons:masterfrom
tagliala:chore/fix-standard-offense
Mar 23, 2026
Merged

Fix Style/ModuleMemberExistenceCheck offense#570
nertzy merged 1 commit intoCasecommons:masterfrom
tagliala:chore/fix-standard-offense

Conversation

@tagliala
Copy link
Contributor

@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
@nertzy nertzy merged commit f49236e into Casecommons:master Mar 23, 2026
17 checks passed
@nertzy
Copy link
Collaborator

nertzy commented Mar 23, 2026

Thanks!

@tagliala tagliala deleted the chore/fix-standard-offense branch March 23, 2026 21:24
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.

2 participants