Skip to content

Commit 62aac45

Browse files
committed
Change confusing variable name
1 parent 4ea8f63 commit 62aac45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/module_manager/loading.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def load_modules(path, options={})
116116

117117
loaders.each do |loader|
118118
if loader.loadable?(path)
119-
count_by_type.merge!(loader.load_modules(path, options)) do |key, old, new|
120-
old + new
119+
count_by_type.merge!(loader.load_modules(path, options)) do |key, prev, now|
120+
prev + now
121121
end
122122
end
123123
end

0 commit comments

Comments
 (0)