packages/cli: add newline at the end of package.json during diff
This commit is contained in:
@@ -118,7 +118,7 @@ class PackageJsonHandler {
|
||||
private async write() {
|
||||
await fs.writeFile(
|
||||
paths.resolveTarget(this.file.targetPath),
|
||||
JSON.stringify(this.targetPkg, null, 2),
|
||||
`${JSON.stringify(this.targetPkg, null, 2)}\n`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user