BigW Consortium Gitlab

Commit 7484bcff by Robb Kidd

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

parent 034ddb85
- unless @commits.empty?
- if @commits.present?
.ui-box
%h5 Commits (#{@commits.count})
.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