Disable the ignored return error in support check

This commit is contained in:
Bill Thornton 2023-05-04 16:05:02 -04:00
parent 4a72d84a46
commit bdf28b89fc

View File

@ -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';