Skip to content

Commit 8bea44c

Browse files
committed
fix: add line break at the end of file
1 parent 58cd372 commit 8bea44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const updatePackageJson = async (contributors: string[]) => {
8888
// eslint-disable-next-line unicorn/prefer-json-parse-buffer
8989
const jsonFile = JSON.parse(await fs.readFile('package.json', 'utf8'))
9090
jsonFile.contributors = contributors
91-
await fs.writeFile('package.json', JSON.stringify(jsonFile, null, 2), 'utf-8')
91+
await fs.writeFile('package.json', `${JSON.stringify(jsonFile, null, 2)}\n`, 'utf-8')
9292
}
9393

9494
export const updateContributors = async (token: string) => {

0 commit comments

Comments
 (0)