diff options
author | elijah <elijah@riseup.net> | 2012-11-14 23:08:59 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-14 23:08:59 -0800 |
commit | 5bafe7947a20b1d6208577ad6151053701243382 (patch) | |
tree | 44fb29869d78c24efa2b7f336fa62a5decd6c61d /lib/leap_cli/util.rb | |
parent | a36a9a2c15be7db9f77dc1ef2be09652b6954ec3 (diff) |
inherit .json from leap_platform/provider_base
Diffstat (limited to 'lib/leap_cli/util.rb')
-rw-r--r-- | lib/leap_cli/util.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb index 20036b2..bad1f6c 100644 --- a/lib/leap_cli/util.rb +++ b/lib/leap_cli/util.rb @@ -23,11 +23,12 @@ module LeapCli # def bail!(message=nil) if block_given? + LeapCli.log_level = 3 yield elsif message puts message end - puts("Bailing out.") + log :bail, "" raise SystemExit.new end |