lib/shelly/cli/main.rb in shelly-0.0.53 vs lib/shelly/cli/main.rb in shelly-0.0.54
- old
+ new
@@ -318,12 +318,11 @@
def check_options(options)
unless options.empty?
unless ["code-name", "databases"].all? do |option|
options.include?(option.to_s) && options[option.to_s] != option.to_s
end && valid_databases?(options["databases"])
- # FIXME: ' to `
- say_error "Try 'shelly help add' for more information"
+ say_error "Try `shelly help add` for more information"
end
end
end
def valid_databases?(databases)
@@ -364,10 +363,10 @@
valid = valid_databases?(databases)
break if valid
databases = ask("Unknown database kind. Supported are: #{kinds.join(", ")}:")
end while not valid
- databases.empty? ? ["postgresql"] : databases - ["none"]
+ databases.empty? ? ["postgresql"] : databases
end
def info_adding_cloudfile_to_repository
say_new_line
say "Project is now configured for use with Shell Cloud:", :green