Fix ERb line.

This commit is contained in:
Mathias Meyer 2014-06-18 11:30:05 +02:00
parent a7f0a861cb
commit e726b1b697

View File

@ -7,7 +7,7 @@ module Travis::Api::App::Responders
TEMPLATE_ERB = ERB.new <<-EOF
<Projects>
<% @resource.each do |repository| %>
<% next if build(repository).nil? -%>
<% next if build(repository).nil? %>
<Project
name="<%= r.slug %>"
activity="<%= ACTIVITY[build(repository).state.to_sym] || ACTIVITY[:default] %>"