lib/danger/commands/runner.rb in danger-9.1.0 vs lib/danger/commands/runner.rb in danger-9.2.0
- old
+ new
@@ -49,10 +49,10 @@
super
end
def validate!
super
- if self.class == Runner && !@dangerfile_path
+ if self.instance_of?(Runner) && !@dangerfile_path
help!("Could not find a Dangerfile.")
end
end
def self.options