lib/danger/commands/runner.rb in danger-0.5.0 vs lib/danger/commands/runner.rb in danger-0.5.1
- old
+ new
@@ -13,10 +13,10 @@
super
end
def validate!
super
- unless @dangerfile_path
+ if self.class == Runner && !@dangerfile_path
help! "Could not find a Dangerfile."
end
end
def self.options