From 2b7bde7eff589b8f73128851611270ba9a04409c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 18 May 2018 00:37:59 +0000 Subject: [PATCH] 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 --- tool/redmine-backporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 38ebf55fed..8299872d2f 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -215,7 +215,7 @@ class << Readline console.print prompt console.flush line = '' - while 1 + while true case c = console.getch when "\r", "\n" puts