Skip to content

Commit 24033e0

Browse files
committed
Add newline to json end-of-file
1 parent b3d8362 commit 24033e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export async function sendPR(
144144
baseBranchName: string,
145145
) {
146146
try {
147-
const formattedContent = JSON.stringify(updatedCodeJSON, null, 2);
147+
const formattedContent = JSON.stringify(updatedCodeJSON, null, 2) + "\n";
148148
const headBranchName = `code-json-${new Date().getTime()}`;
149149

150150
const PR = await octokit.createPullRequest({

0 commit comments

Comments
 (0)