lib/buildkite/builder/plugin_manager.rb in buildkite-builder-4.1.0 vs lib/buildkite/builder/plugin_manager.rb in buildkite-builder-4.1.1
- old
+ new
@@ -12,10 +12,10 @@
@plugins[name] = Plugin.new(uri, default_attributes)
end
def build(name, attributes = {})
plugin = @plugins[name.to_s]
- raise(ArgumentError, "Plugin is not registered: #{resource}") unless plugin
+ raise(ArgumentError, "Plugin is not registered: #{name}") unless plugin
{ plugin.uri => plugin.default_attributes.merge(attributes) }
end
end
end