From 36bb47b5a0343ee38543f30b6b1fc700e19f23e7 Mon Sep 17 00:00:00 2001 From: Hargun Kaur <56452820+hkaur008@users.noreply.github.com> Date: Tue, 26 Oct 2021 15:33:06 +0000 Subject: [PATCH] return version otherwise action will fail --- src/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index eb181dc3..16b0f269 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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; } \ No newline at end of file