diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 11:37:14 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 11:37:14 +0200 |
commit | 0ea017d99744ee3a7574535fad69cfc0686fd292 (patch) | |
tree | bce1a5044bbbca2f2d983618d5add4bb96a4e1d1 /app/models/network | |
parent | 43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff) | |
download | gitlab-ce-0ea017d99744ee3a7574535fad69cfc0686fd292.tar.gz |
Enable Style/WhileUntilDo rubocop style copstyle/enable-while-until-do-rubocop-style-cop
See #17478
Diffstat (limited to 'app/models/network')
-rw-r--r-- | app/models/network/graph.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb index 9259cb1a0fa..ec32b509ee0 100644 --- a/app/models/network/graph.rb +++ b/app/models/network/graph.rb @@ -231,7 +231,7 @@ module Network reserved.uniq! space = space_default - while reserved.include?(space) do + while reserved.include?(space) space += space_step if space < space_base then space_step *= -1 |