Prevent tree log crash if commit missing
This commit is contained in:
parent
15bc1223c7
commit
3802ae0cfa
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
- @logs.each do |content_data|
|
||||
- file_name = content_data[:file_name]
|
||||
- commit = content_data[:commit]
|
||||
- next unless commit
|
||||
|
||||
:plain
|
||||
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
|
||||
|
|
Loading…
Reference in a new issue