From d76f96823594c5cd20dd12b8cc55010a32a09f6d Mon Sep 17 00:00:00 2001 From: Akul Srivastava Date: Wed, 29 Jun 2022 13:45:02 +0530 Subject: [PATCH] fix: prettier ignore removed and fixed --- dangerfile.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dangerfile.js b/dangerfile.js index 59bc43466b11b..4fa16bb4a7345 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -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() {