No need to check if `repository_ref` is present
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 ```
Showing
想要评论请 注册 或 登录