mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-25 15:22:59 +00:00
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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user