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 7b5b557 commit d6bfc0dCopy full SHA for d6bfc0d
scripts/newChange.ts
@@ -50,7 +50,7 @@ const contents: NewChange = {
50
}
51
const fileName = `${type}-${crypto.randomUUID()}.json`
52
const path = join(directory, fileName)
53
-fs.writeFileSync(path, JSON.stringify(contents, undefined, '\t'))
+fs.writeFileSync(path, JSON.stringify(contents, undefined, '\t') + '\n')
54
55
console.log(`Change log written to ${path}`)
56
child_process.execSync(`git add ${directory}`)
0 commit comments