vendored/puppet/lib/puppet/file_serving/fileset.rb in bolt-0.23.0 vs vendored/puppet/lib/puppet/file_serving/fileset.rb in bolt-0.24.0

- old
+ new

@@ -23,10 +23,10 @@ result end def initialize(path, options = {}) - if Puppet.features.microsoft_windows? + if Puppet::Util::Platform.windows? # REMIND: UNC path path = path.chomp(File::SEPARATOR) unless path =~ /^[A-Za-z]:\/$/ else path = path.chomp(File::SEPARATOR) unless path == File::SEPARATOR end