Fix ERb line.
This commit is contained in:
parent
a7f0a861cb
commit
e726b1b697
|
@ -7,7 +7,7 @@ module Travis::Api::App::Responders
|
||||||
TEMPLATE_ERB = ERB.new <<-EOF
|
TEMPLATE_ERB = ERB.new <<-EOF
|
||||||
<Projects>
|
<Projects>
|
||||||
<% @resource.each do |repository| %>
|
<% @resource.each do |repository| %>
|
||||||
<% next if build(repository).nil? -%>
|
<% next if build(repository).nil? %>
|
||||||
<Project
|
<Project
|
||||||
name="<%= r.slug %>"
|
name="<%= r.slug %>"
|
||||||
activity="<%= ACTIVITY[build(repository).state.to_sym] || ACTIVITY[:default] %>"
|
activity="<%= ACTIVITY[build(repository).state.to_sym] || ACTIVITY[:default] %>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user