lib/danger/plugin_support/plugin.rb in danger-0.10.1 vs lib/danger/plugin_support/plugin.rb in danger-2.0.0
- old
+ new
@@ -15,9 +15,11 @@
# get method_missing called correctly.
undef :warn, :fail
# Since we have a reference to the Dangerfile containing all the information
# We need to redirect the self calls to the Dangerfile
+
+ # rubocop:disable Style/MethodMissing
def method_missing(method_sym, *arguments, &block)
@dangerfile.send(method_sym, *arguments, &block)
end
def self.all_plugins