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 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
- if @commits.present?
|
- unless @commits.empty?
|
||||||
.ui-box
|
.ui-box
|
||||||
%h5 Commits (#{@commits.count})
|
%h5 Commits (#{@commits.count})
|
||||||
.merge-request-commits
|
.merge-request-commits
|
||||||
|
|
Loading…
Reference in a new issue