summaryrefslogtreecommitdiff
path: root/app/models/network
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 11:37:14 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 11:37:14 +0200
commit0ea017d99744ee3a7574535fad69cfc0686fd292 (patch)
treebce1a5044bbbca2f2d983618d5add4bb96a4e1d1 /app/models/network
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-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.rb2
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