diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-12-20 23:30:01 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-12-20 23:30:01 +0800 |
commit | c1d11bf57c3091aa4695e302e21c39b9ec723f54 (patch) | |
tree | a66652e69f265aa5e969f97a413768f7f97871a2 /lib | |
parent | 884f57c9102416805427d773eb21e09fd30c2452 (diff) | |
download | gitlab-ce-c1d11bf57c3091aa4695e302e21c39b9ec723f54.tar.gz |
Rubocop prefers to indent this wayfeature/1376-allow-write-access-deploy-keys
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git_access.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb index f0b241fb5e6..7e1484613f2 100644 --- a/lib/gitlab/git_access.rb +++ b/lib/gitlab/git_access.rb @@ -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] |