mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-10 01:23:04 +01:00
lint: fix missing comma
This commit is contained in:
@@ -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]}" ` : ''));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user