eslint: Fix unicorn/prefer-math-min-max.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-10-03 16:44:36 -07:00 committed by Tim Abbott
parent 3b79a534a2
commit 7bd0df408d
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ function min_defined(a: number | undefined, b: number | undefined): number | und
if (b === undefined) {
return a;
}
return a < b ? a : b;
return Math.min(a, b);
}
function load_local_messages(msg_data: MessageListData, superset_data: MessageListData): boolean {