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

Commit

Permalink
correctly check for ddollar/heroku-accounts not heroku/heroku-accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
dickeyxxx committed Sep 21, 2015
1 parent 0dcb7fc commit 4639357
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/heroku/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ 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)
if defined?(Heroku::Command::Accounts) && defined?(Heroku::Command::Accounts.account)
warn "WARNING: deprecated ddollar/heroku-accounts plugin is installed."
end
end
end

0 comments on commit 4639357

Please sign in to comment.