vendored/puppet/lib/puppet/util/instance_loader.rb in bolt-0.15.0 vs vendored/puppet/lib/puppet/util/instance_loader.rb in bolt-0.16.0

- old
+ new

@@ -65,12 +65,10 @@ name = name.intern return nil unless instances = instance_hash(type) unless instances.include? name if instance_loader(type).load(name) unless instances.include? name - Puppet.warning( - _("Loaded %{type} file for %{name} but %{type} was not defined") % { type: type, name: name } - ) + Puppet.warning(_("Loaded %{type} file for %{name} but %{type} was not defined") % { type: type, name: name }) return nil end else return nil end