Skip to content

Commit

Permalink
馃悰 fix: Add empty line to end of saved file to fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed Mar 18, 2024
1 parent 4d1f99a commit c90eea3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generate-badges/badges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ const updateConfig = (path: string, config: BadgesConfig): BadgesConfig => {
})
};

outputFileSync(path, JSON.stringify(updatedConfig, null, 2));
const json: string = JSON.stringify(updatedConfig, null, 2);

outputFileSync(path, `${json}\n`);

return updatedConfig;
};
Expand Down

0 comments on commit c90eea3

Please sign in to comment.