Skip to content

fix: satisfy safe-navigation lint - #10

Merged
dpaluy merged 1 commit into
masterfrom
fix/rubocop-safe-navigation-empty
Jul 26, 2026
Merged

fix: satisfy safe-navigation lint#10
dpaluy merged 1 commit into
masterfrom
fix/rubocop-safe-navigation-empty

Conversation

@dpaluy

@dpaluy dpaluy commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace safe-navigation empty? conditional with an equivalent explicit nil guard
  • restore compatibility with RuboCop 1.88.2 Lint/SafeNavigationWithEmpty

Verification

  • bundle exec rubocop lib/fizzy/cli/base.rb — 1 file, no offenses
  • bundle exec rake — 114 runs, 262 assertions, 0 failures, 0 errors; 39 files, no RuboCop offenses
  • git diff --check

This is a prerequisite for the separate Gemfile.lock cleanup PR #9, whose CI currently resolves RuboCop 1.88.2 and exposes this pre-existing warning.

@dpaluy
dpaluy merged commit ed94d95 into master Jul 26, 2026
2 checks passed
@dpaluy
dpaluy deleted the fix/rubocop-safe-navigation-empty branch July 26, 2026 20:56
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