Skip to content

Commit

Permalink
Adjust report to handle new toolchain type.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Jun 5, 2017
1 parent 4e626f2 commit c0ed0af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ function begin(config, results) {
function parseToolchain(tc) {
if (tc["Dist"]) {
return tc["Dist"];
} else if (tc["TryBuild"]) {
let sha = tc["TryBuild"]["sha"];
return `<a href="https://github.com/rust-lang/rust/commit/${sha}">${sha}</a>`
} else {
throw "unsupported toolchain type";
}
Expand Down

0 comments on commit c0ed0af

Please sign in to comment.