Commit 7484bcff authored by Robb Kidd's avatar Robb Kidd

Invert "unless .empty?" to "if .present?"; unless-else is evil.

parent 034ddb85
- unless @commits.empty? - if @commits.present?
.ui-box .ui-box
%h5 Commits (#{@commits.count}) %h5 Commits (#{@commits.count})
.merge-request-commits .merge-request-commits
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment