mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
fix: prettier ignore removed and fixed (#24811)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user