lib/jets/cli.rb in jets-1.4.0 vs lib/jets/cli.rb in jets-1.4.1

- old
+ new

@@ -58,9 +58,10 @@ # Defaults to development when not set. def set_jets_env_from_cli_arg! command, env = thor_args[0..1] return unless %w[deploy delete].include?(command) env = nil if env&.starts_with?('-') + return unless env ENV['JETS_ENV'] = env ? env : 'development' end # thor_args normalized the args Array to work with our Thor command # subclasses.