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:
parent
358d800232
commit
7662937cab
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue