vendored/puppet/lib/puppet/module_tool/applications/unpacker.rb in bolt-0.23.0 vs vendored/puppet/lib/puppet/module_tool/applications/unpacker.rb in bolt-0.24.0

- old
+ new

@@ -12,10 +12,10 @@ app.sanity_check app.move_into(target) end def self.harmonize_ownership(source, target) - unless Puppet.features.microsoft_windows? + unless Puppet::Util::Platform.windows? source = Pathname.new(source) unless source.respond_to?(:stat) target = Pathname.new(target) unless target.respond_to?(:stat) FileUtils.chown_R(source.stat.uid, source.stat.gid, target) end