# File lib/bummr/check.rb, line 7 def check(fullcheck=true) @errors = [] check_base_branch check_log check_status if fullcheck == true check_diff end if @errors.any? unless yes? "Bummr found errors! Do you want to continue anyway?".color(:red) exit 0 end else puts "Ready to run bummr.".color(:green) end end