mirror of
https://github.com/actions/setup-node.git
synced 2025-04-23 20:10:48 +00:00
feat(installer): Change warning to info msg
This commit is contained in:
parent
c2cd1482c6
commit
03c9ae1068
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ export function parseNodeVersionFile(contents: string): string {
|
||||||
nodeVersion = JSON.parse(contents).volta?.node;
|
nodeVersion = JSON.parse(contents).volta?.node;
|
||||||
if (!nodeVersion) nodeVersion = JSON.parse(contents).engines?.node;
|
if (!nodeVersion) nodeVersion = JSON.parse(contents).engines?.node;
|
||||||
} catch {
|
} catch {
|
||||||
core.warning('Node version file is not JSON file');
|
core.info('Node version file is not JSON file');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nodeVersion) {
|
if (!nodeVersion) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue