mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00: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:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user