mirror of
https://github.com/actions/setup-node.git
synced 2025-12-15 01:01:38 +08:00
fix error in unit test
This commit is contained in:
committed by
GitHub
parent
e3139593d9
commit
8dfead4556
@@ -78,7 +78,9 @@ function resolveVersionInput(): string {
|
||||
const versionFileInput = core.getInput('node-version-file');
|
||||
|
||||
if (version && versionFileInput) {
|
||||
core.warning('Both node-version and node-version-file are specified');
|
||||
core.warning(
|
||||
'Both node-version and node-version-file inputs are specified, only node-version will be used'
|
||||
);
|
||||
}
|
||||
|
||||
if (version) {
|
||||
|
||||
Reference in New Issue
Block a user