We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e798b77 commit 1bcc72bCopy full SHA for 1bcc72b
lib/file.js
@@ -20,7 +20,7 @@ export function writeFile(file, content) {
20
};
21
22
export function writeJson(file, obj) {
23
- writeFile(file, JSON.stringify(obj, null, 2));
+ writeFile(file, `${JSON.stringify(obj, null, 2)}\n`);
24
25
26
export function readFile(file) {
0 commit comments