Skip to content

Commit 75d1f1d

Browse files
committed
fix: add comment
1 parent beb8f6d commit 75d1f1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/versions/parseNodesToVersionsValues.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function normalizeResult(data: VersionValue[]) {
6363
}
6464
});
6565
const result = [...data];
66+
//Progress breakes if sum of values more than 100, so we need to subtrackt difference appeared because of MIN_VALUE from the biggest value in set
6667
result[maximumIndex] = {...data[maximumIndex], value: maximum + 100 - total};
6768
return result;
6869
}

0 commit comments

Comments
 (0)