exceptions.rb: remove unnecessary chomps
remove `chomp!` from method 'initialize' in class 'BuildFlagsError'
This commit is contained in:
parent
db7997e1a0
commit
c44c8da5e0
@ -463,15 +463,15 @@ class BuildFlagsError < RuntimeError
|
||||
require_text = "requires"
|
||||
end
|
||||
|
||||
message = <<~EOS.chomp!
|
||||
message = <<~EOS
|
||||
The following #{flag_text}:
|
||||
#{flags.join(", ")}
|
||||
#{require_text} building tools, but none are installed.
|
||||
#{DevelopmentTools.installation_instructions}
|
||||
EOS
|
||||
|
||||
message << <<~EOS.chomp! if bottled
|
||||
\nAlternatively, remove the #{flag_text} to attempt bottle installation.
|
||||
message << <<~EOS if bottled
|
||||
Alternatively, remove the #{flag_text} to attempt bottle installation.
|
||||
EOS
|
||||
|
||||
super message
|
||||
|
Loading…
x
Reference in New Issue
Block a user