Rubocop prefers to indent this way

This commit is contained in:
Lin Jen-Shin 2016-12-20 23:30:01 +08:00
parent 884f57c910
commit c1d11bf57c

View file

@ -100,8 +100,8 @@ module Gitlab
return if deploy_key?
passed = user_can_download_code? ||
build_can_download_code? ||
guest_can_download_code?
build_can_download_code? ||
guest_can_download_code?
unless passed
raise UnauthorizedError, ERROR_MESSAGES[:download]