diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-01 16:52:01 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-01 16:52:01 +0300 |
commit | 4c53ef321ea38bab311675798f5ebffdce911533 (patch) | |
tree | 62ca7ade16c134a7c8ab274769ed17ddece7bc41 /app/controllers | |
parent | 6fa82735b4716720012ed998154a3ffa2e5fc350 (diff) |
Fix rubocop
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 4f99845a5d9..b60cf7ac1ac 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -225,8 +225,8 @@ class ProjectsController < Projects::ApplicationController find_branches = true find_tags = true find_commits = true - - if !find_refs.nil? + + unless find_refs.nil? find_branches = find_refs.include? 'branches' find_tags = find_refs.include? 'tags' find_commits = find_refs.include? 'commits' |