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) {