mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 17:26:27 +00:00
return version otherwise action will fail
This commit is contained in:
parent
aab770aa32
commit
36bb47b5a0
1 changed files with 1 additions and 2 deletions
|
@ -89,8 +89,7 @@ function resolveVersionInput(): string {
|
||||||
fs.readFileSync(versionFilePath, 'utf8')
|
fs.readFileSync(versionFilePath, 'utf8')
|
||||||
);
|
);
|
||||||
core.info(`Resolved ${versionFileInput} as ${version}`);
|
core.info(`Resolved ${versionFileInput} as ${version}`);
|
||||||
return version;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null as any;
|
return version;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue