# File lib/heroku/plugin.rb, line 44
    def self.check_for_deprecation(plugin)
      return unless STDIN.tty?

      if DEPRECATED_PLUGINS.include?(plugin)
        if confirm "The plugin #{plugin} has been deprecated. Would you like to remove it? (y/N)"
          remove_plugin(plugin)
        end
      end
    end