Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."
This reverts commit 7484bcfff7
.
This commit is contained in:
parent
65c35394eb
commit
581a822326
|
@ -1,4 +1,4 @@
|
|||
- if @commits.present?
|
||||
- unless @commits.empty?
|
||||
.ui-box
|
||||
%h5 Commits (#{@commits.count})
|
||||
.merge-request-commits
|
||||
|
|
Loading…
Reference in a new issue