Skip to content

Commit

Permalink
fix: cover }
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandepass committed Nov 27, 2023
1 parent 4fd1ff6 commit be9ee57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/blocks/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function imageUrlToBase64(url) {
};
reader.readAsDataURL(blob);
} catch (e) {
/* c8 ignore next 1 */
/* c8 ignore next 2 */
reject(e);
}
});
Expand All @@ -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);
}
Expand Down Expand Up @@ -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);
}
});
Expand Down

0 comments on commit be9ee57

Please sign in to comment.