Skip to content

Commit

Permalink
Use RuboCop default hash syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Mar 7, 2024
1 parent 7ef86a4 commit 59645ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/which_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def update_and_save!(source: nil, commit: false, update_existing: false, install
max_downloads: nil, eval_all: false)
source ||= default_source
db = ExecutablesDB.new source
db.update!(update_existing: update_existing, install_missing: install_missing,
max_downloads: max_downloads, eval_all: eval_all)
db.update!(update_existing:, install_missing:,
max_downloads:, eval_all:)
db.save!
return if !commit || !db.changed?

Expand Down

0 comments on commit 59645ea

Please sign in to comment.