Rubocop prefers to indent this way
This commit is contained in:
parent
884f57c910
commit
c1d11bf57c
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ module Gitlab
|
||||||
return if deploy_key?
|
return if deploy_key?
|
||||||
|
|
||||||
passed = user_can_download_code? ||
|
passed = user_can_download_code? ||
|
||||||
build_can_download_code? ||
|
build_can_download_code? ||
|
||||||
guest_can_download_code?
|
guest_can_download_code?
|
||||||
|
|
||||||
unless passed
|
unless passed
|
||||||
raise UnauthorizedError, ERROR_MESSAGES[:download]
|
raise UnauthorizedError, ERROR_MESSAGES[:download]
|
||||||
|
|
Loading…
Reference in a new issue