Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpal committed Jun 12, 2024
1 parent 0b8b72f commit 992680c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions infra/nightly-resources/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ function shouldHaveLlvm(runMethod) {
}

function getBrilPathForBenchmark(benchmark) {
const o = GLOBAL_DATA.currentRun.find(o => o.benchmark === benchmark);
const o = GLOBAL_DATA.currentRun.find((o) => o.benchmark === benchmark);
if (!o) {
console.error(`couldn't find entry for ${benchmark} (this shouldn't happen)`);
console.error(
`couldn't find entry for ${benchmark} (this shouldn't happen)`,
);
}
return o.metadata.path;
}
Expand Down
4 changes: 3 additions & 1 deletion infra/nightly-resources/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ function selectAllBenchmarks(enabled, category) {
let checkboxes = Array.from(checkboxContainer.getElementsByTagName("input"));
if (category === "looped") {
const loopedBenchmarks = new Set(
GLOBAL_DATA.currentRun.filter((x) => x.metadata.looped).map((x) => x.benchmark),
GLOBAL_DATA.currentRun
.filter((x) => x.metadata.looped)
.map((x) => x.benchmark),
);
checkboxes = checkboxes.filter((x) => loopedBenchmarks.has(x.id));
}
Expand Down

0 comments on commit 992680c

Please sign in to comment.