diff --git a/scripts/release.js b/scripts/release.js index 92d1cf8..2d478d9 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -23,13 +23,13 @@ module.exports = { generateNotes: async () => { const pluginsDir = path.resolve(process.cwd(), 'plugins'); let pluginIds = []; - let releaseNotes = '```json'; + let releaseNotes = '```json\n'; if (fs.existsSync(pluginsDir)) { fs.readdirSync(pluginsDir).forEach(submodule => { pluginIds.push(ParsePlugin(pluginsDir, submodule)); }); } releaseNotes += JSON.stringify(pluginIds, null, 4); - return releaseNotes + '```'; + return releaseNotes + '\n```'; } };