Skip to content

Commit

Permalink
Address rubocop unhappiness with single vs. double quoted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hms committed Aug 5, 2024
1 parent cf4e62e commit 1d115b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/solid_queue/semaphore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def attempt_creation_with_create_and_exception_handling
limit == 1 ? false : attempt_decrement
end

if ActiveRecord::Base.connection.adapter_name == 'PostgreSQL'
if ActiveRecord::Base.connection.adapter_name == "PostgreSQL"
alias attempt_creation attempt_creation_with_insert_on_conflict
else
alias attempt_creation attempt_creation_with_create_and_exception_handling
Expand Down

0 comments on commit 1d115b6

Please sign in to comment.