Skip to content

No need to check if `repository_ref` is present

username-removed-56708 requested to merge (removed):patch-1 into master

There is no need to check if repository_ref is present as:

@repository_ref = if repository_ref.present?
                    repository_ref
                  else
                    nil
                  end

is same thing as doing:

@repository_ref = repository_ref

Merge request reports