diff options
| author | Naren | 2016-10-14 12:21:35 -0500 |
|---|---|---|
| committer | Josh Hagins | 2016-10-18 09:52:55 -0400 |
| commit | 8e9720c5b93eea36652bd5011615e7f18fd240fb (patch) | |
| tree | 819b186a2496637d220a78f0e3360cb93808193e /Library | |
| parent | 2da012d84d81dad61b7a5e071c9f827c822a6fed (diff) | |
| download | brew-8e9720c5b93eea36652bd5011615e7f18fd240fb.tar.bz2 | |
updated cmd to point to prebug steps url
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/utils.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index d42d78ef7..ef4afa05b 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -4,7 +4,7 @@ require "stringio" require "hbc/utils/file" -UPDATE_CMD = "brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup".freeze +PREBUG_URL = "https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md".freeze ISSUES_URL = "https://github.com/caskroom/homebrew-cask#reporting-bugs".freeze # monkeypatch Object - not a great idea @@ -145,8 +145,9 @@ module Hbc def self.error_message_with_suggestions <<-EOS.undent - Most likely, this means you have an outdated version of Homebrew-Cask. Please run: - #{UPDATE_CMD} + + Try following the instuctions here: + #{Formatter.url(PREBUG_URL)} If this doesn’t fix the problem, please report this bug: #{Formatter.url(ISSUES_URL)} |
