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

Commit

Permalink
auto-remove heroku-accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
dickeyxxx committed Sep 23, 2015
1 parent fe68e79 commit b22d392
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/heroku/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ def self.start(*args)
end

def self.warn_if_using_heroku_accounts
warn "WARNING: deprecated ddollar/heroku-accounts plugin is installed." if defined?(Heroku::Command::Accounts.account)
if defined?(Heroku::Command::Accounts.account)
$stderr.print "Uninstalling deprecated ddollar/heroku-accounts plugin..."
Heroku::Plugin.new('heroku-accounts').uninstall
$stderr.puts " done"
end
end
end

0 comments on commit b22d392

Please sign in to comment.