cask: remove pre_bug_report links

This commit is contained in:
Vítor Galvão 2017-03-31 20:19:27 +01:00
parent e30eeb3d1b
commit 7c048b6f71
2 changed files with 2 additions and 9 deletions

View File

@ -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 doesnt fix the problem, please report this bug:
#{Formatter.url(ISSUES_URL)}
#{Formatter.url(BUG_REPORTS_URL)}
EOS
end

View File

@ -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