Skip to content

Commit

Permalink
Use single quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex H authored and Alex H committed Dec 16, 2024
1 parent f63f41f commit be22cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/svgToPdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function convertSVGtoPDF(
}
}

source = source.replace(`{{ qr_code }}`, `"${'data:image/png;base64, ' + qrCodeBase64}"`);
source = source.replace(`{{ qr_code }}`, `'${'data:image/png;base64, ' + qrCodeBase64}'`);

Check failure on line 30 in app/lib/svgToPdf.ts

View workflow job for this annotation

GitHub Actions / lint (20.x)

Strings must use singlequote
const template = Handlebars.compile(source);
const svg = template(data);

Expand Down

0 comments on commit be22cc5

Please sign in to comment.