vendored/puppet/lib/puppet/feature/base.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/feature/base.rb in bolt-0.12.0
- old
+ new
@@ -81,10 +81,10 @@
begin
ffi_lib :kernel32
attach_function :CreateSymbolicLinkW, [:lpwstr, :lpwstr, :dword], :boolean
true
- rescue LoadError => err
+ rescue LoadError
Puppet.debug("CreateSymbolicLink is not available")
false
end
end
end