Skip to content

Commit

Permalink
fix: remove console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandepass committed Nov 27, 2023
1 parent 77d496b commit 2486374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/blocks/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export async function prepareImagesForCopy(context, element, url, columnWidthPer
const dataURL = await imageUrlToBase64(`${imgSrc.origin}${imgSrc.pathname}`);
img.src = dataURL;
} catch (e) {
// eslint-disable-next-line no-console
console.error(e);
}

Check warning on line 230 in src/plugins/blocks/utils.js

View check run for this annotation

Codecov / codecov/patch

src/plugins/blocks/utils.js#L228-L230

Added lines #L228 - L230 were not covered by tests
} else {
Expand Down Expand Up @@ -457,7 +458,6 @@ export async function copyDefaultContentToClipboard(context, wrapper, blockURL)
};

const copied = await copyToClipboard(context, data, prepare);
console.log('copied', copied);

// Track block copy event
sampleRUM('library:blockcopied', { target: blockURL });
Expand Down

0 comments on commit 2486374

Please sign in to comment.