Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
rework output on destroying app
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Dec 6, 2010
1 parent 23b1982 commit 564a787
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/heroku/commands/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,17 +202,16 @@ def destroy
info = heroku.info(app)
url = info[:domain_name] || "http://#{info[:name]}.#{heroku.host}/"

display "Destroying #{url}"
if confirm_command(app)
redisplay "Destroying #{url}..."
redisplay "Destroying #{url}... "
heroku.destroy(app)
if remotes = git_remotes(Dir.pwd)
remotes.each do |remote_name, remote_app|
next if app != remote_app
shell "git remote rm #{remote_name}"
end
end
redisplay "Destroying #{url}... done"
display "done"
end
end

Expand Down

0 comments on commit 564a787

Please sign in to comment.