add new line at the end of the file

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-19 12:44:16 +03:00
parent dda4f75bd7
commit 15ea112f83
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -48,11 +48,10 @@ async function run() {
console.log(`Old version: ${version}. New version: ${newVersion}`)
// fs.writeFileSync(file, JSON.stringify(file, null, 2));
const filePathRelatedToRoot = getProjectInfoFilePath(filePathInput, true);
await commitChanges(file, filePathRelatedToRoot);
const payload = JSON.stringify(github.context.payload, undefined, 2)
const payload = JSON.stringify(github.context.payload + '\n', undefined, 2)
// console.log(`The event payload: ${payload}`);
} catch (error) {