Mentions how hub needs to be configured

This is to address issue #3531
This commit is contained in:
Laurent Cozic 2017-12-10 11:08:15 +00:00 committed by GitHub
parent e5e91f0216
commit fd8262ef7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ module Homebrew
if reply.to_s.include? "username:"
formula.path.atomic_write(backup_file) unless ARGV.dry_run?
odie "You need to configure hub"
odie "Please authentify with hub (eg. by typing 'cd $(brew --repo) && hub issue') and try again."
end
remote = reply[/remote:? (\S+)/, 1]