Remove extraneous else
parent
6de986bd70
commit
9941097a5c
|
@ -2288,10 +2288,10 @@ class Core
|
|||
def option_values_payloads
|
||||
if @cache_payloads && active_module == @previous_module
|
||||
return @cache_payloads
|
||||
else
|
||||
@previous_module = active_module
|
||||
end
|
||||
|
||||
@previous_module = active_module
|
||||
|
||||
@cache_payloads = active_module.compatible_payloads.map { |refname, payload|
|
||||
refname
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue