Permalink
Browse files

allow for broken symlinks in build artifacts

  • Loading branch information...
1 parent 98fa322 commit f915dce076751a482a4eaa2e8d42e2e7c36cfe4d @michaelglass michaelglass committed Nov 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/builds/show_dir_index.html.erb
View
2 app/views/builds/show_dir_index.html.erb
@@ -10,7 +10,7 @@
<tr>
<td><%= link_to f, f %></td>
<td><%= file_mtime(f) %></td>
- <td><%= file_size(f) %> bytes</td>
+ <td><%= file_size(f) rescue 0 %> bytes</td>
<td><%= file_type(f) %></td>
</tr>
<% end %>

0 comments on commit f915dce

Please sign in to comment.