fix: use underscore in place of unused error variable

pull/713/head
Sarah Doire 1 year ago
parent 9d343c36a3
commit 3f0fd51207

@ -1717,7 +1717,7 @@ function convertLazyLoadedImages($) {
src = _JSON$parse.src;
if (typeof src === 'string') return src;
} catch (e) {
} catch (_) {
return false;
}

2
dist/mercury.js vendored

@ -1546,7 +1546,7 @@ function convertLazyLoadedImages($) {
src = _JSON$parse.src;
if (typeof src === 'string') return src;
} catch (e) {
} catch (_) {
return false;
}

File diff suppressed because one or more lines are too long

@ -12,7 +12,7 @@ export default function convertLazyLoadedImages($) {
try {
const { src } = JSON.parse(str);
if (typeof src === 'string') return src;
} catch (e) {
} catch (_) {
return false;
}

Loading…
Cancel
Save