mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Fix error
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
0b2fb2a01e
commit
6759debe95
2
index.js
2
index.js
@ -62,7 +62,7 @@ async function run() {
|
||||
async function commitChanges(file, filePath) {
|
||||
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
|
||||
newContent += '\n';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user