From be9ee572025f6221396d265f0a256b211eeaf31a Mon Sep 17 00:00:00 2001 From: Dylan Depass Date: Mon, 27 Nov 2023 14:34:18 -0500 Subject: [PATCH] fix: cover } --- src/plugins/blocks/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/blocks/utils.js b/src/plugins/blocks/utils.js index 49ac233..71526ca 100644 --- a/src/plugins/blocks/utils.js +++ b/src/plugins/blocks/utils.js @@ -200,7 +200,7 @@ async function imageUrlToBase64(url) { }; reader.readAsDataURL(blob); } catch (e) { - /* c8 ignore next 1 */ + /* c8 ignore next 2 */ reject(e); } }); @@ -226,7 +226,7 @@ export async function prepareImagesForCopy(context, element, url, columnWidthPer const dataURL = await imageUrlToBase64(`${imgSrc.origin}${imgSrc.pathname}`); img.src = dataURL; } catch (e) { - /* c8 ignore next 2 */ + /* c8 ignore next 3 */ // eslint-disable-next-line no-console console.error(e); } @@ -366,7 +366,7 @@ export function copyToClipboard(context, data, prepare) { const blob = new Blob([html.outerHTML], { type: 'text/html' }); resolve(blob); } catch (e) { - /* c8 ignore next 1 */ + /* c8 ignore next 2 */ reject(e); } });