Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/stack_master/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def execute!
stack_name = Utils.underscore_to_hyphen(args[1])

StackMaster.cloud_formation_driver.set_region(region)
StackMaster::Commands::Delete.perform(region, stack_name)
StackMaster::Commands::Delete.perform(region, stack_name).success?
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/stack_master/commands/apply.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def ensure_valid_parameters!
@stack_definition.parameter_files.each do |parameter_file|
StackMaster.stderr.puts " - #{parameter_file}"
end
halt!
failed!
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/stack_master/commands/delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def initialize(region, stack_name)

def perform

return unless check_exists
failed! unless check_exists

unless ask?("Really delete stack #{@stack_name} (y/n)? ")
StackMaster.stdout.puts "Stack update aborted"
Expand Down