Fix error

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2023-09-19 13:57:41 +03:00
parent 0b2fb2a01e
commit 6759debe95
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -62,7 +62,7 @@ async function run() {
async function commitChanges(file, filePath) { async function commitChanges(file, filePath) {
const commitMessage = 'Commit message here'; const commitMessage = 'Commit message here';
let newContent = JSON.stringify(newContent, null, 2); let newContent = JSON.stringify(file, null, 2);
// Append a newline character to the end of the new content // Append a newline character to the end of the new content
newContent += '\n'; newContent += '\n';