diff options
| author | VĂtor GalvĂŁo | 2017-04-01 16:04:19 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-01 16:04:19 +0100 |
| commit | 1ea44788cb1e2526317fe3bba16167d491115e77 (patch) | |
| tree | 6fe7aa71a7479ea05a85a636c5e57222936e2752 /Library | |
| parent | 7e32da8fab2c277be6d432153bd101751975c3e0 (diff) | |
| parent | 7c048b6f71b031ab8ee1289a70b51cef24408dcc (diff) | |
| download | brew-1ea44788cb1e2526317fe3bba16167d491115e77.tar.bz2 | |
Merge pull request #2429 from vitorgalvao/rem-pre-bug
cask: remove pre_bug_report links
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/utils.rb | 9 | ||||
| -rw-r--r-- | Library/Homebrew/test/cask/dsl_spec.rb | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index 3fc817dd5..aba7138cb 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -4,8 +4,7 @@ require "stringio" require "hbc/utils/file" -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 +BUG_REPORTS_URL = "https://github.com/caskroom/homebrew-cask#reporting-bugs".freeze # monkeypatch Object - not a great idea class Object @@ -96,11 +95,7 @@ module Hbc def self.error_message_with_suggestions <<-EOS.undent Follow the instructions here: - #{Formatter.url(PREBUG_URL)} - - If this doesnât fix the problem, please report this bug: - #{Formatter.url(ISSUES_URL)} - + #{Formatter.url(BUG_REPORTS_URL)} EOS end diff --git a/Library/Homebrew/test/cask/dsl_spec.rb b/Library/Homebrew/test/cask/dsl_spec.rb index 7872b42a6..7eeabcf49 100644 --- a/Library/Homebrew/test/cask/dsl_spec.rb +++ b/Library/Homebrew/test/cask/dsl_spec.rb @@ -26,8 +26,6 @@ describe Hbc::DSL, :cask do .* Unexpected method 'future_feature' called on Cask unexpected-method-cask\\. .* - https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md - .* https://github.com/caskroom/homebrew-cask#reporting-bugs EOS |
