Use string interpolation if possible (better performance)

This commit is contained in:
Lin Jen-Shin 2016-09-26 16:39:52 +08:00
parent d245f98017
commit 8de8506d44

View file

@ -138,7 +138,7 @@
had
= failed.size
failed
= 'build'.pluralize(failed.size) + '.'
= "#{'build'.pluralize(failed.size)}."
%tr.warning
%td{:style => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;border:1px solid #ededed;border-bottom:0;border-radius:3px 3px 0 0;overflow:hidden;background-color:#fdf4f6;color:#d22852;font-size:14px;line-height:1.4;text-align:center;padding:8px 15px;"}
Logs may contain sensitive data. Please consider before forwarding this email.