mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
Disable the ignored return error in support check
This commit is contained in:
parent
4a72d84a46
commit
bdf28b89fc
@ -114,6 +114,7 @@ export function getDisplayRunningTime(ticks) {
|
||||
|
||||
const toLocaleTimeStringSupportsLocales = function () {
|
||||
try {
|
||||
// eslint-disable-next-line sonarjs/no-ignored-return
|
||||
new Date().toLocaleTimeString('i');
|
||||
} catch (e) {
|
||||
return e.name === 'RangeError';
|
||||
|
Loading…
Reference in New Issue
Block a user