lib/facter/util/loader.rb in facter-1.7.3 vs lib/facter/util/loader.rb in facter-1.7.4.rc1

- old
+ new

@@ -95,10 +95,10 @@ Kernel.load(file) rescue ScriptError => detail # Don't store the path if the file can't be loaded # in case it's loadable later on. @loaded.delete(file) - warn "Error loading fact #{file} #{detail}" + Facter.warn "Error loading fact #{file} #{detail}" end end # Load facts from the environment. If no name is provided, # all will be loaded.