Class: SafePusher::Client::Pronto
- Inherits:
-
Object
- Object
- SafePusher::Client::Pronto
- Defined in:
- lib/safe_pusher/client/pronto.rb
Instance Method Summary collapse
Instance Method Details
#lint ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/safe_pusher/client/pronto.rb', line 4 def lint run_pronto exit_status = $CHILD_STATUS.exitstatus if exit_status != 0 warn 'Pronto found somme errors… ' \ 'Fix them before pushing to GitHub!'.red else puts 'No errors found by pronto, go for next step!'.green end exit_status end |