bin/pinpress in pinpress-1.2.2 vs bin/pinpress in pinpress-1.2.3

- old
+ new

@@ -65,11 +65,11 @@ configuration.current_version = configuration.pinpress[:version] configuration.last_version = PinPress::NEWEST_CONFIG_VERSION # Compare the two versions and, if needed, update. configuration.compare_version do |c, l| - messenger.debug { "Upgrading from #{ c } to #{ l }" } + messenger.debug("Upgrading from #{ c } to #{ l }") PinPress.update_config_file exit!(0) end else # Force the user to init if they try to run any command @@ -83,12 +83,12 @@ post do |global, command, options, args| end on_error do |exception| - # messenger.error(exception.to_s) - # exit!(1) - # true + messenger.error(exception.to_s) + exit!(1) + true end # ====================================================== # Commands # ======================================================