modules/mu/config.rb in cloud-mu-3.1.5 vs modules/mu/config.rb in cloud-mu-3.1.6

- old
+ new

@@ -75,10 +75,10 @@ # @return [Hash]: The modified configuration def self.manxify(config, remove_runtime_keys: false) if config.is_a?(Hash) newhash = {} config.each_pair { |key, val| - next if remove_runtime_keys and key.match(/^#MU_/) + next if remove_runtime_keys and (key.nil? or key.match(/^#MU_/)) next if val.is_a?(Array) and val.empty? newhash[key] = self.manxify(val, remove_runtime_keys: remove_runtime_keys) } config = newhash elsif config.is_a?(Array)