lib/abak-flow/commands/checkup.rb in abak-flow-1.0.7 vs lib/abak-flow/commands/checkup.rb in abak-flow-1.0.8

- old
+ new

@@ -10,15 +10,17 @@ @configuration = manager.configuration @repository = manager.repository end def run(args, options) + process(args, options) + say ANSI.green { I18n.t("commands.checkup.success") } + end + + def process(args, options) Visitor.new(@configuration, @repository, command: "checkup", call: :ready?, inspect: :errors) .on_fail(exit: 1) - - say ANSI.green { I18n.t("commands.checkup.success") } end - - end - end -end + end # class Checkup + end # module Commands +end # module Abak::Flow \ No newline at end of file