We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841c6c7 commit b8463b7Copy full SHA for b8463b7
apps/web-roo-code/src/lib/format-score.ts
@@ -1,6 +1 @@
1
-export const formatScore = (score: number | null | undefined) => {
2
- if (score === null || score === undefined) {
3
- return "-"
4
- }
5
- return Math.round(score * 100)
6
-}
+export const formatScore = (score: number) => Math.round(score * 100)
0 commit comments