mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
sizebot: Fix wrong order of base, head arguments (#20751)
The base and head arguments were flipped, so an n% decrease in bundle size was instead reported as an n% increase.
This commit is contained in:
parent
4ecf11977c
commit
903384ab0c
|
|
@ -92,7 +92,7 @@ function getBundleSizes(pathToSizesDir) {
|
|||
async function printResultsForChannel(baseResults, headResults) {
|
||||
// Take the JSON of the build response and
|
||||
// make an array comparing the results for printing
|
||||
const results = generateResultsArray(baseResults, headResults);
|
||||
const results = generateResultsArray(headResults, baseResults);
|
||||
|
||||
const packagesToShow = results
|
||||
.filter(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user