mirror of
https://github.com/actions/setup-node.git
synced 2025-06-08 02:22:04 +08:00
return version otherwise action will fail
This commit is contained in:
parent
aab770aa32
commit
36bb47b5a0
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user