diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-05-23 14:16:35 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-23 14:16:35 -0400 |
commit | 3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1 (patch) | |
tree | f5b527f659bc3fe4e417c63ac9bd6fe0c97e5250 /lib | |
parent | 68b8e86a813608ae378b39ba5a64ff07fb9a057a (diff) | |
download | gitlab-ce-3ba72f69af69d9fb2c46cb6c25d571f92ffd2ee1.tar.gz |
Enable Style/SpaceAroundKeyword cop and fix offenses
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/ansi2html.rb | 2 |
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(([@-_])(.*?)?)?$/) |