return version otherwise action will fail

pull/338/head
Hargun Kaur 2021-10-26 15:33:06 +00:00 committed by GitHub
parent aab770aa32
commit 36bb47b5a0
1 changed files with 1 additions and 2 deletions

View File

@ -89,8 +89,7 @@ function resolveVersionInput(): string {
fs.readFileSync(versionFilePath, 'utf8')
);
core.info(`Resolved ${versionFileInput} as ${version}`);
return version;
}
return null as any;
return version;
}