writeJSON with new line at the end (#1555)

1.0.0-beta8
Nam Chu Hoai 2 years ago committed by GitHub
parent 82951fb1dd
commit a00097399e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      typescript/infra/src/utils/utils.ts

@ -158,7 +158,7 @@ export function writeJSON(directory: string, filename: string, obj: any) {
}
fs.writeFileSync(
path.join(directory, filename),
JSON.stringify(obj, null, 2),
JSON.stringify(obj, null, 2) + '\n',
);
}

Loading…
Cancel
Save