Skip to content

Commit a565eb7

Browse files
committed
lintage
Signed-off-by: William Woodruff <[email protected]>
1 parent 656af5e commit a565eb7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/executables_db.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def update!(update_existing: false, install_missing: false, max_downloads: nil,
5959

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

lib/which_update.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def update_and_save!(source: nil, commit: false, update_existing: false, install
4848
max_downloads: nil, eval_all: false)
4949
source ||= default_source
5050
db = ExecutablesDB.new source
51-
db.update!(update_existing: update_existing, install_missing: install_missing, max_downloads: max_downloads, eval_all: eval_all)
51+
db.update!(update_existing: update_existing, install_missing: install_missing,
52+
max_downloads: max_downloads, eval_all: eval_all)
5253
db.save!
5354
return if !commit || !db.changed?
5455

0 commit comments

Comments
 (0)