Skip to content

Commit

Permalink
run prettier to fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsamoei committed Aug 1, 2022
1 parent 5fe4482 commit 9ad4ffb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ const processResults = ({ data, errors }) => {
return {
summary: data
.map(({ path, url, summary, shortSummary, report }) => {
const obj = {
const obj = {
summary: summary.reduce((acc, item) => {
acc[item.id] = item.score*100;
acc[item.id] = item.score * 100;
return acc;
}, {}),
report
}, {}),
report,
};

if (path) {
Expand Down

0 comments on commit 9ad4ffb

Please sign in to comment.