Skip to content

Commit

Permalink
🐛 fix: Make the generated badges.json Prettier compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed Sep 30, 2024
1 parent 5660ae9 commit 6bb1916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate-badges/badges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ export const generateBadges = (): void => {

config.files.forEach(({ fileName, ...badgenOptions }: Badge): void => {
const svg: string = badgen(badgenOptions);
outputFileSync(`${path}${fileName}`, svg);
outputFileSync(`${path}${fileName}`, `${svg}\n`);
});
};

0 comments on commit 6bb1916

Please sign in to comment.