Skip to content

Commit

Permalink
🐛 fix: benchmark reported -1 val
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleeeer committed Apr 15, 2024
1 parent e461ffa commit 5b4b15f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/tools/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ function dealdata(jsonData, patchId, projectInfo) {
displayName: result.bundler,
techStack,
rawValue:
values[filteredProps.indexOf(prop)] === "skipped"
? -1
values[filteredProps.indexOf(prop)] === "skipped" ||
values[filteredProps.indexOf(prop)] === -1
? null
: values[filteredProps.indexOf(prop)],
content: result,
patchId,
Expand Down

0 comments on commit 5b4b15f

Please sign in to comment.