Permalink
Browse files

Merge pull request #83 from michaelglass/patch-1

allow broken symlinks in build artifacts
  • Loading branch information...
2 parents 7de65e0 + f915dce commit 96db5597e120715d2560cf55504d74edba01544c @bguthrie bguthrie committed Dec 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 96db559

Please sign in to comment.