Skip to content

Conversation

@jmgasper
Copy link
Collaborator

No description provided.

@jmgasper jmgasper requested a review from kkartunov as a code owner November 22, 2025 20:35
@jmgasper jmgasper merged commit 9671450 into master Nov 22, 2025
7 of 8 checks passed

const normalizedScore = normalizeScoreValue(_.get(summation, 'aggregateScore'));
const isProvisional = Boolean(summation.isProvisional);
const isLatest = _.isNil(summation.isLatest) ? true : Boolean(summation.isLatest);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💡 readability]
The use of _.isNil(summation.isLatest) ? true : Boolean(summation.isLatest) could be simplified to summation.isLatest !== false for better readability and to avoid unnecessary use of lodash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants