mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
mass-testing-report: names for binaries
Instead of having all the binaries in the mass-testing-report be downloaded with the name `input`, have them use a meaningful name instead.
This commit is contained in:
committed by
Alessandro Di Federico
parent
82591a72c9
commit
17316e1ffa
@@ -470,7 +470,9 @@ function getColumns(meta: Metadata): Columns[] {
|
||||
}
|
||||
}
|
||||
|
||||
container.appendChild(button("Bin", `${row.name}/input`));
|
||||
const downloadButton = button("Bin", `${row.name}/input`) as HTMLAnchorElement;
|
||||
downloadButton.download = row.input_name;
|
||||
container.appendChild(downloadButton);
|
||||
|
||||
for (const elem of meta.downloads || []) {
|
||||
container.appendChild(button(elem.label, `${row.name}/${elem.name}`));
|
||||
|
||||
Reference in New Issue
Block a user