lib/jets/commands/delete.rb in jets-2.3.19 vs lib/jets/commands/delete.rb in jets-3.0.0

- old
+ new

@@ -37,11 +37,11 @@ puts "Time took for deletion: #{status.pretty_time(took).color(:green)}." end def delete_logs puts "Deleting CloudWatch logs" - log = Jets::Commands::Clean::Log.new(mute: true, sure: true) + log = Jets::Commands::Clean::Log.new(mute: true, yes: true) log.clean end def confirm_project_exists retries = 0 @@ -112,10 +112,10 @@ def parent_stack_name Jets::Naming.parent_stack_name end def are_you_sure? - if @options[:sure] + if @options[:yes] sure = 'y' else puts "Are you sure you want to want to delete the #{Jets.config.project_namespace.color(:green)} project? (y/N)" sure = $stdin.gets end