Skip to content

Commit

Permalink
fix: Formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Dec 10, 2024
1 parent df5fa46 commit 3307850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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```';
}
};

0 comments on commit 3307850

Please sign in to comment.