mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Fix error: projectInfoFile is not defined
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
fd3c042b3e
commit
509255af64
2
index.js
2
index.js
@ -48,7 +48,7 @@ async function run() {
|
|||||||
|
|
||||||
console.log(`Old version: ${version}. New version: ${newVersion}`)
|
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);
|
await commitChanges(core.getInput('filePath'), file);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user