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