From 33078509ec2cc18e622d206a45905952571737f4 Mon Sep 17 00:00:00 2001 From: shadow <81448108+shdwmtr@users.noreply.github.com> Date: Tue, 10 Dec 2024 00:38:35 -0400 Subject: [PATCH] fix: Formatting issue --- scripts/release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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```'; } };