mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 10:28:18 -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 () {
|
const toLocaleTimeStringSupportsLocales = function () {
|
||||||
try {
|
try {
|
||||||
|
// eslint-disable-next-line sonarjs/no-ignored-return
|
||||||
new Date().toLocaleTimeString('i');
|
new Date().toLocaleTimeString('i');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return e.name === 'RangeError';
|
return e.name === 'RangeError';
|
||||||
|
Loading…
Reference in New Issue
Block a user