Skip to content

Commit

Permalink
chore: fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov authored Dec 12, 2024
1 parent b5dcfa9 commit 9816161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/cdk/utils/math/round.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function calculate(
ngDevMode &&

Check warning on line 32 in projects/cdk/utils/math/round.ts

View check run for this annotation

codefactor.io / CodeFactor

projects/cdk/utils/math/round.ts#L32

Expected an assignment or function call and instead saw an expression. (@typescript-eslint/no-unused-expressions)
console.assert(
Number.isSafeInteger(roundedInt),
'Impossible to correctly round the such large number',
'Impossible to correctly round a such large number',
);

const processedPair = `${roundedInt}e`.split('e');
Expand Down

0 comments on commit 9816161

Please sign in to comment.