Skip to content

Commit

Permalink
fix: prettier ignore removed and fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
akulsr0 committed Jun 29, 2022
1 parent d1432ba commit d76f968
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,16 @@ const header = `

function row(result, baseSha, headSha) {
const diffViewUrl = `https://react-builds.vercel.app/commits/${headSha}/files/${result.path}?compare=${baseSha}`;
// prettier-ignore
return `| [${result.path}](${diffViewUrl}) | **${change(result.change)}** | ${kbs(result.baseSize)} | ${kbs(result.headSize)} | ${change(result.changeGzip)} | ${kbs(result.baseSizeGzip)} | ${kbs(result.headSizeGzip)}`;
const rowArr = [
`| [${result.path}](${diffViewUrl})`,
`**${change(result.change)}**`,
`${kbs(result.baseSize)}`,
`${kbs(result.headSize)}`,
`${change(result.changeGzip)}`,
`${kbs(result.baseSizeGzip)}`,
`${kbs(result.headSizeGzip)}`,
];
return rowArr.join(' | ');
}

(async function() {
Expand Down

0 comments on commit d76f968

Please sign in to comment.