@samitouri / QOS-React-2 / commits / f2e4ff082d

fix: prettier ignore removed and fixed (#24811)

Akul Srivastava committed Sep 13, 2022 at 06:46 UTC f2e4ff082dc273b1958423a5fce04833af43f855
1 file changed +10 -2
dangerfile.js
+10 -2
@@ -86,8 +86,16 @@ const header = `
86
87 function row(result, baseSha, headSha) {
88 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(' | ');
99 }
100
101 (async function() {