Skip to content

Commit

Permalink
Format code with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeshmaheshwar committed Apr 1, 2024
1 parent e3693c8 commit 1bf2b1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sm2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ const sm2RandomThemeFromRatingMap = async (
theme: theme,
});
if (entry) {
v.rating = scaleGlickoByTime(v.rating, Math.min(entry.time, MAX_CORRECT_TIME));
v.rating = scaleGlickoByTime(
v.rating,
Math.min(entry.time, MAX_CORRECT_TIME)
);
}
result.set(theme, v);
}
Expand Down

0 comments on commit 1bf2b1b

Please sign in to comment.