mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Replace backticks with single quotes
This commit is contained in:
parent
b54efbde21
commit
f106909150
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user