lib/facter/framework/config/config_reader.rb in facter-4.4.0 vs lib/facter/framework/config/config_reader.rb in facter-4.4.1

- old
+ new

@@ -36,9 +36,13 @@ rescue StandardError => e log.warn("Facter failed to read config file #{config_path} with the following error: #{e.message}") @conf = {} end + def clear + @conf = {} + end + private def log @log ||= Log.new(self) end