Skip to content

No need to check if `repository_ref` is present

Ramya Authappan requested to merge github/fork/zenati/patch-1 into master

Created by: zenati

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

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

is as same as doing:

@repository_ref = repository_ref

Merge request reports

Loading