Skip to content

Node.js based forum software built for the modern web

Fix trailing commas

RoiEX0710c6488daa
diff --git a/src/meta/osd.js b/src/meta/osd.js
index 3928c535c3..dd11ff5d44 100644
--- a/src/meta/osd.js
+++ b/src/meta/osd.js
@@ -15,7 +15,7 @@ module.exports = function (Meta) {
{
_attr: {
xmlns: 'http://a9.com/-/spec/opensearch/1.1/',
- }
+ },
},
{
ShortName: String(Meta.config.title || Meta.config.browserTitle || 'NodeBB'),
@@ -30,11 +30,11 @@ module.exports = function (Meta) {
type: 'text/html',
method: 'get',
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
- }
- }
+ },
+ },
]
- }
- ]
+ },
+ ],
};
fs.writeFile(osdFilePath, xml([osdObject], { declaration: true, indent: '\t' }), callback);
};