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"
|
require_text = "requires"
|
||||||
end
|
end
|
||||||
|
|
||||||
message = <<~EOS.chomp!
|
message = <<~EOS
|
||||||
The following #{flag_text}:
|
The following #{flag_text}:
|
||||||
#{flags.join(", ")}
|
#{flags.join(", ")}
|
||||||
#{require_text} building tools, but none are installed.
|
#{require_text} building tools, but none are installed.
|
||||||
#{DevelopmentTools.installation_instructions}
|
#{DevelopmentTools.installation_instructions}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
message << <<~EOS.chomp! if bottled
|
message << <<~EOS if bottled
|
||||||
\nAlternatively, remove the #{flag_text} to attempt bottle installation.
|
Alternatively, remove the #{flag_text} to attempt bottle installation.
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
super message
|
super message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user