Skip to content

Commit

Permalink
Test debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenaSviridenko committed Aug 3, 2021
1 parent 40e244d commit 5f10e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12344,6 +12344,7 @@ function acquireNode(version) {
let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`;
let downloadPath;
try {
core.info(`Downloading ${downloadUrl}`);
downloadPath = yield tc.downloadTool(downloadUrl);
}
catch (err) {
Expand Down
1 change: 1 addition & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ async function acquireNode(version: string): Promise<string> {
let downloadPath: string;

try {
core.info(`Downloading ${downloadUrl}`);
downloadPath = await tc.downloadTool(downloadUrl);
} catch (err) {
if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
Expand Down

0 comments on commit 5f10e34

Please sign in to comment.