Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-23 22:29:25 +0300
committerRobert Speicher <robert@gitlab.com>2016-05-23 22:29:25 +0300
commit18ac02a3fec248a1f2bb3ef5aff30344b8f80d40 (patch)
tree6cc1cff55e05fddaee8d1f08245403eb5454b9c2 /lib
parent206e8344b882c985ac920c1dc9f2fba0045aafe8 (diff)
parent3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1 (diff)
Merge branch 'rs-space-around-keyword' into 'master'
Enable Style/SpaceAroundKeyword cop and fix offenses Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17478 See merge request !4259
Diffstat (limited to 'lib')
-rw-r--r--lib/ci/ansi2html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/ansi2html.rb b/lib/ci/ansi2html.rb
index 5fed43aaebd..c628257e3f4 100644
--- a/lib/ci/ansi2html.rb
+++ b/lib/ci/ansi2html.rb
@@ -98,7 +98,7 @@ module Ci
open_new_tag
s = StringScanner.new(ansi)
- while(!s.eos?)
+ until s.eos?
if s.scan(/\e([@-_])(.*?)([@-~])/)
handle_sequence(s)
elsif s.scan(/\e(([@-_])(.*?)?)?$/)