Skip to content

Commit

Permalink
chore(core): Fixed new rubocop warning (#27536)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Oct 30, 2024
1 parent b9c5494 commit 970c19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-cloud-core/lib/google/cloud/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def subconfig? key
#
def alias? key
target = @validators[key.to_sym]
target.is_a?(::Symbol) ? target : nil
target.is_a?(::Symbol) ? target : nil # rubocop:disable Style/ReturnNilInPredicateMethodDefinition
end

##
Expand Down

0 comments on commit 970c19b

Please sign in to comment.