Skip to content

Commit f2e4ff0

Browse files
authored
fix: prettier ignore removed and fixed (#24811)
1 parent 6aa38e7 commit f2e4ff0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

dangerfile.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,16 @@ const header = `
8686

8787
function row(result, baseSha, headSha) {
8888
const diffViewUrl = `https://react-builds.vercel.app/commits/${headSha}/files/${result.path}?compare=${baseSha}`;
89-
// prettier-ignore
90-
return `| [${result.path}](${diffViewUrl}) | **${change(result.change)}** | ${kbs(result.baseSize)} | ${kbs(result.headSize)} | ${change(result.changeGzip)} | ${kbs(result.baseSizeGzip)} | ${kbs(result.headSizeGzip)}`;
89+
const rowArr = [
90+
`| [${result.path}](${diffViewUrl})`,
91+
`**${change(result.change)}**`,
92+
`${kbs(result.baseSize)}`,
93+
`${kbs(result.headSize)}`,
94+
`${change(result.changeGzip)}`,
95+
`${kbs(result.baseSizeGzip)}`,
96+
`${kbs(result.headSizeGzip)}`,
97+
];
98+
return rowArr.join(' | ');
9199
}
92100

93101
(async function() {

0 commit comments

Comments
 (0)