Commit 4c53ef32 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fix rubocop

parent 6fa82735
...@@ -225,8 +225,8 @@ class ProjectsController < Projects::ApplicationController ...@@ -225,8 +225,8 @@ class ProjectsController < Projects::ApplicationController
find_branches = true find_branches = true
find_tags = true find_tags = true
find_commits = true find_commits = true
if !find_refs.nil? unless find_refs.nil?
find_branches = find_refs.include? 'branches' find_branches = find_refs.include? 'branches'
find_tags = find_refs.include? 'tags' find_tags = find_refs.include? 'tags'
find_commits = find_refs.include? 'commits' find_commits = find_refs.include? 'commits'
......
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