From 509255af643495f4979de1e33aff7f83032ec9f9 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Tue, 19 Sep 2023 11:09:54 +0300 Subject: [PATCH] Fix error: projectInfoFile is not defined Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 06b8d0c..0398e10 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ async function run() { console.log(`Old version: ${version}. New version: ${newVersion}`) - fs.writeFileSync(file, JSON.stringify(projectInfoFile, null, 2)); + fs.writeFileSync(file, JSON.stringify(file, null, 2)); await commitChanges(core.getInput('filePath'), file);