diff options
author | Rydkin Maxim <maks.rydkin@gmail.com> | 2016-12-16 01:14:20 +0300 |
---|---|---|
committer | Rydkin Maxim <maks.rydkin@gmail.com> | 2016-12-16 21:37:22 +0300 |
commit | 170efaaba273792ddffc2806ef1501f33d87a5a2 (patch) | |
tree | d193abbcb948cf989f848b83583a157719512caf /app/services/groups | |
parent | b1120fc3e702daac001d000263eac79f4629b595 (diff) |
Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741
Diffstat (limited to 'app/services/groups')
-rw-r--r-- | app/services/groups/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/groups/update_service.rb b/app/services/groups/update_service.rb index 99ad12b1003..fff2273f402 100644 --- a/app/services/groups/update_service.rb +++ b/app/services/groups/update_service.rb @@ -5,7 +5,7 @@ module Groups new_visibility = params[:visibility_level] if new_visibility && new_visibility.to_i != group.visibility_level unless can?(current_user, :change_visibility_level, group) && - Gitlab::VisibilityLevel.allowed_for?(current_user, new_visibility) + Gitlab::VisibilityLevel.allowed_for?(current_user, new_visibility) deny_visibility_level(group, new_visibility) return group |