Skip to content

Commit ac16ae4

Browse files
Update message to use waning instead of info
1 parent 5a8d911 commit ac16ae4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/setup/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72843,7 +72843,7 @@ class OfficialBuilds extends base_distribution_1.default {
7284372843
}
7284472844
catch (error) {
7284572845
if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
72846-
core.info(`Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
72846+
core.warning(`Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
7284772847
'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
7284872848
'To resolve this issue you may either fall back to the older version or try again later.');
7284972849
}

src/distributions/official_builds/official_builds.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default class OfficialBuilds extends BaseDistribution {
148148
return toolPath;
149149
} catch (error) {
150150
if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
151-
core.info(
151+
core.warning(
152152
`Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
153153
'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
154154
'To resolve this issue you may either fall back to the older version or try again later.'

0 commit comments

Comments
 (0)