lint: fix missing comma

This commit is contained in:
Barış Soner Uşaklı
2025-12-03 10:14:08 -05:00
parent ba85474dfb
commit 9fb41c6933

View File

@@ -78,7 +78,7 @@ module.exports = function (utils, Benchpress, relative_path) {
function buildLinkTag(tag) {
const attributes = [
'link', 'rel', 'as', 'type', 'href', 'hreflang', 'sizes', 'title', 'crossorigin'
'link', 'rel', 'as', 'type', 'href', 'hreflang', 'sizes', 'title', 'crossorigin',
];
const [link, rel, as, type, href, hreflang, sizes, title, crossorigin] = attributes.map(attr => (tag[attr] ? `${attr}="${tag[attr]}" ` : ''));