Skip to content

Commit 8d75721

Browse files
authored
fix: add line break when updating banner (#886)
1 parent 4bd6820 commit 8d75721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/security_blog.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default class SecurityBlog extends SecurityRelease {
161161
link: content.link ?? currentValue.link,
162162
type: content.type ?? currentValue.type
163163
};
164-
fs.writeFileSync(siteJsonPath, JSON.stringify(siteJson, null, 2));
164+
fs.writeFileSync(siteJsonPath, JSON.stringify(siteJson, null, 2) + '\n');
165165
}
166166

167167
formatReleaseDate(releaseDate) {

0 commit comments

Comments
 (0)