lib/nanoc/cli/commands/deploy.rb in nanoc-4.2.0b1 vs lib/nanoc/cli/commands/deploy.rb in nanoc-4.2.0

- old
+ new

@@ -13,13 +13,12 @@ module Nanoc::CLI::Commands class Deploy < ::Nanoc::CLI::CommandRunner def run prepare - case - when options[:'list-deployers'] + if options[:'list-deployers'] list_deployers - when options[:list] + elsif options[:list] list_deploy_configs else deploy end end