lib/facter/resolvers/windows/kernel.rb in facter-4.3.1 vs lib/facter/resolvers/windows/kernel.rb in facter-4.4.0

- old
+ new

@@ -13,10 +13,10 @@ def post_resolve(fact_name, _options) @fact_list.fetch(fact_name) { read_os_version_information(fact_name) } end def read_os_version_information(fact_name) - require 'facter/resolvers/windows/ffi/kernel_ffi' + require_relative '../../../facter/resolvers/windows/ffi/kernel_ffi' ver_ptr = FFI::MemoryPointer.new(OsVersionInfoEx.size) ver = OsVersionInfoEx.new(ver_ptr) ver[:dwOSVersionInfoSize] = OsVersionInfoEx.size