1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/redmine-backporter.rb: should add the value after checking error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-02-22 11:50:56 +00:00
parent 358d800232
commit 7662937cab

View file

@ -77,9 +77,9 @@ class String
seq << "\e[#{c}m" seq << "\e[#{c}m"
end end
if back if back
c = COLORS[back] + 10 c = COLORS[back]
raise "unknown background color #{back}" unless c raise "unknown background color #{back}" unless c
seq << "\e[#{c}m" seq << "\e[#{c + 10}m"
end end
if seq.empty? if seq.empty?
self self