diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-12-14 19:49:16 +0900 |
|---|---|---|
| committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-12-15 16:41:10 +0900 |
| commit | 38002a8adbd98266426940d829429a30af0622a4 (patch) | |
| tree | db01bcc2653ba0230a07345c4a3c877246dfe473 /lib/bundler/friendly_errors.rb | |
| parent | e2b192f7d5b4f0e2133bb6cf03cfc609258826be (diff) | |
| download | ruby-38002a8adbd98266426940d829429a30af0622a4.tar.gz | |
Prepare to release bundler-2.1.0
Diffstat (limited to 'lib/bundler/friendly_errors.rb')
| -rw-r--r-- | lib/bundler/friendly_errors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 273573e820..080697b02c 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "cgi" require_relative "vendored_thor" module Bundler @@ -114,6 +113,7 @@ module Bundler def issues_url(exception) message = exception.message.lines.first.tr(":", " ").chomp message = message.split("-").first if exception.is_a?(Errno) + require "cgi" "https://github.com/bundler/bundler/search?q=" \ "#{CGI.escape(message)}&type=Issues" end |
