Replace backticks with single quotes

This commit is contained in:
Jordan Watkins 2018-10-20 12:40:42 -07:00 committed by Julian Descottes
parent b54efbde21
commit f106909150

View file

@ -115,7 +115,7 @@ function onPageExit(page, options, data) {
if (options.dataUri) { if (options.dataUri) {
const dataUriPath = options.dest + '.datauri'; const dataUriPath = options.dest + '.datauri';
const dataUri = `data:image/png;base64,${page.renderBase64('PNG')}`; const dataUri = 'data:image/png;base64,' + page.renderBase64('PNG');
// Write data-uri to file // Write data-uri to file
fs.write(dataUriPath, dataUri, 'w'); fs.write(dataUriPath, dataUri, 'w');