From 5d22cfaa598d2b5e4a3dd6a81d2cb11099d970ef Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Tue, 14 Jan 2025 16:06:29 -0300 Subject: [PATCH] fix: add line break when updating banner --- lib/security_blog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/security_blog.js b/lib/security_blog.js index d2f51d4e..a2a89ec7 100644 --- a/lib/security_blog.js +++ b/lib/security_blog.js @@ -161,7 +161,7 @@ export default class SecurityBlog extends SecurityRelease { link: content.link ?? currentValue.link, type: content.type ?? currentValue.type }; - fs.writeFileSync(siteJsonPath, JSON.stringify(siteJson, null, 2)); + fs.writeFileSync(siteJsonPath, JSON.stringify(siteJson, null, 2) + '\n'); } formatReleaseDate(releaseDate) {