Skip to content

Commit

Permalink
output info
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmacfarlane committed May 3, 2020
1 parent a80a170 commit a875da2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13013,6 +13013,7 @@ function getNode(versionSpec, stable, token) {
//
// Extract
//
console.log('Extracting ...');
let extPath;
if (osPlat == 'win32') {
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
Expand All @@ -13033,6 +13034,7 @@ function getNode(versionSpec, stable, token) {
//
// Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
//
console.log('Adding to the cache ...');
toolPath = yield tc.cacheDir(extPath, 'node', info.resolvedVersion);
}
//
Expand Down
2 changes: 2 additions & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export async function getNode(
//
// Extract
//
console.log('Extracting ...');
let extPath: string;
if (osPlat == 'win32') {
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
Expand All @@ -94,6 +95,7 @@ export async function getNode(
//
// Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
//
console.log('Adding to the cache ...');
toolPath = await tc.cacheDir(extPath, 'node', info.resolvedVersion);
}

Expand Down

0 comments on commit a875da2

Please sign in to comment.