mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
redmine-backporter.rb: suppress a warning [ci skip]
* tool/redmine-backporter.rb (StringScanner.readline): use `true` to suppress a "literal in condition" warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4dc5b6ff58
commit
2b7bde7eff
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class << Readline
|
||||||
console.print prompt
|
console.print prompt
|
||||||
console.flush
|
console.flush
|
||||||
line = ''
|
line = ''
|
||||||
while 1
|
while true
|
||||||
case c = console.getch
|
case c = console.getch
|
||||||
when "\r", "\n"
|
when "\r", "\n"
|
||||||
puts
|
puts
|
||||||
|
|
Loading…
Reference in a new issue