heroku/heroku — Issue #232: Removing add-ons fails after confirmation. Passes with --confirm flag.
Author: rwdaigle
Created: 2012-02-09 18:03:54+00:00
State: open

```term
$ gem install heroku
Fetching: heroku-2.19.2.gem (100%)
Successfully installed heroku-2.19.2
1 gem installed
$ heroku addons:remove loggly --app devcenter

! WARNING: Potentially Destructive Action
! This command will affect the app: devcenter
! To proceed, type "devcenter" or re-run this command with --confirm devcenter

> devcenter
-----> Removing loggly from devcenter... /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/gems/heroku-2.19.2/lib/heroku/helpers.rb:57:in `confirm_command': undefined local variable or method `app' for Heroku::Command:Module (NameError)
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/gems/heroku-2.19.2/lib/heroku/command.rb:142:in `rescue in run'
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/gems/heroku-2.19.2/lib/heroku/command.rb:128:in `run'
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/gems/heroku-2.19.2/lib/heroku/cli.rb:9:in `start'
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/gems/heroku-2.19.2/bin/heroku:15:in `'
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/bin/heroku:19:in `load'
from /Users/rdaigle/.rvm/gems/ruby-1.9.2-p180@heroku.dev-center/bin/heroku:19:in `

'

$ heroku addons:remove loggly --app devcenter --confirm devcenter
-----> Removing loggly from devcenter... done, v140 (free)
```