Skip to content

Commit

Permalink
lintage
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@yossarian.net>
  • Loading branch information
woodruffw committed Oct 22, 2023
1 parent 656af5e commit a565eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/executables_db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update!(update_existing: false, install_missing: false, max_downloads: nil,

# Evaluate only the core tap by default.
taps = eval_all ? Tap.each.to_a : [CoreTap.instance]
Tap.each do |tap|
taps.each do |tap|
tap.formula_files_by_name.each do |name, path|
f = Formulary.load_formula_from_path(name, path)

Expand Down
3 changes: 2 additions & 1 deletion lib/which_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +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: update_existing, install_missing: install_missing,
max_downloads: max_downloads, eval_all: eval_all)
db.save!
return if !commit || !db.changed?

Expand Down

0 comments on commit a565eb7

Please sign in to comment.