summaryrefslogtreecommitdiff
path: root/app/services/projects/update_service.rb
diff options
context:
space:
mode:
authorRydkin Maxim <maks.rydkin@gmail.com>2016-12-16 01:14:20 +0300
committerRydkin Maxim <maks.rydkin@gmail.com>2016-12-16 21:37:22 +0300
commit170efaaba273792ddffc2806ef1501f33d87a5a2 (patch)
treed193abbcb948cf989f848b83583a157719512caf /app/services/projects/update_service.rb
parentb1120fc3e702daac001d000263eac79f4629b595 (diff)
downloadgitlab-ce-170efaaba273792ddffc2806ef1501f33d87a5a2.tar.gz
Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741
Diffstat (limited to 'app/services/projects/update_service.rb')
-rw-r--r--app/services/projects/update_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/update_service.rb b/app/services/projects/update_service.rb
index 921ca6748d3..8a6af8d8ada 100644
--- a/app/services/projects/update_service.rb
+++ b/app/services/projects/update_service.rb
@@ -6,7 +6,7 @@ module Projects
if new_visibility && new_visibility.to_i != project.visibility_level
unless can?(current_user, :change_visibility_level, project) &&
- Gitlab::VisibilityLevel.allowed_for?(current_user, new_visibility)
+ Gitlab::VisibilityLevel.allowed_for?(current_user, new_visibility)
deny_visibility_level(project, new_visibility)
return project