Commit c1d11bf5 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Rubocop prefers to indent this way

parent 884f57c9
...@@ -100,8 +100,8 @@ module Gitlab ...@@ -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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment