Skip to content

Commit

Permalink
Merge pull request #172 from RalfJung/json-normalization
Browse files Browse the repository at this point in the history
preserve non-JSON lines during normalization
  • Loading branch information
Manishearth authored Apr 16, 2019
2 parents dfd512e + 46c4b13 commit 5e05ec7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {
}
}
} else {
None
// preserve non-JSON lines, such as ICEs
Some(format!("{}\n", line))
}
})
.collect()
Expand Down

0 comments on commit 5e05ec7

Please sign in to comment.