diff options
| author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
|---|---|---|
| committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
| commit | a77ca278809d7f31fa51e4b821faed86324c8275 (patch) | |
| tree | da1c6c68b24fdcab9acfc07b6a352a39af1c6f4e /lib/bundler/friendly_errors.rb | |
| parent | af694073229af89af205d24ff449f51f74316a37 (diff) | |
| download | bundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz | |
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'lib/bundler/friendly_errors.rb')
| -rw-r--r-- | lib/bundler/friendly_errors.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 8838ac8467..0a90ca506e 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -43,11 +43,11 @@ module Bundler end def self.request_issue_report_for(e) - Bundler.ui.info <<-EOS.gsub(/^ {6}/, '') + Bundler.ui.info <<-EOS.gsub(/^ {6}/, "") --- ERROR REPORT TEMPLATE ------------------------------------------------------- - What did you do? - I ran the command `#{$PROGRAM_NAME} #{ARGV.join(' ')}` + I ran the command `#{$PROGRAM_NAME} #{ARGV.join(" ")}` - What did you expect to happen? @@ -70,7 +70,7 @@ module Bundler Bundler.ui.error "Unfortunately, an unexpected error occurred, and Bundler cannot continue." - Bundler.ui.warn <<-EOS.gsub(/^ {6}/, '') + Bundler.ui.warn <<-EOS.gsub(/^ {6}/, "") First, try this link to see if there are any existing issue reports for this error: #{issues_url(e)} @@ -81,7 +81,7 @@ module Bundler end def self.issues_url(exception) - 'https://github.com/bundler/bundler/search?q=' \ + "https://github.com/bundler/bundler/search?q=" \ "#{CGI.escape(exception.message.lines.first.chomp)}&type=Issues" end |
