Skip to content

Commit bd6b533

Browse files
esbenagaearon
authored andcommitted
Fix copy paste error for file size comparison (facebook#12040)
1 parent d364758 commit bd6b533

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dangerfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fetch(commitURL(parentOfOldestCommit)).then(async response => {
106106
for (var name of new Set(packagesToShow)) {
107107
const thisBundleResults = results.filter(r => r.packageName === name);
108108
const changedFiles = thisBundleResults.filter(
109-
r => r.prevGzipSizeChange !== 0 || r.prevGzipSizeChange !== 0
109+
r => r.prevFileSizeChange !== 0 || r.prevGzipSizeChange !== 0
110110
);
111111

112112
const mdHeaders = [

0 commit comments

Comments
 (0)