Skip to content

Commit

Permalink
add debug line to check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Shibanov committed Jun 23, 2020
1 parent 2bf9f71 commit c932c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ function run() {
const installDir = yield installer.getGo(versionSpec, stable, auth);
console.log(`installDir is ${installDir}`);
core.exportVariable('GOROOT', installDir);
const content = fs_1.default.readdirSync(installDir);
const content = fs_1.default.readdirSync(path_1.default.join(installDir, "go"));
console.log(content);
core.addPath(path_1.default.join(installDir, 'bin'));
console.log('Added go to the path');
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function run() {

console.log(`installDir is ${installDir}`)
core.exportVariable('GOROOT', installDir);
const content = fs.readdirSync(installDir);
const content = fs.readdirSync(path.join(installDir, "go"));
console.log(content);
core.addPath(path.join(installDir, 'bin'));
console.log('Added go to the path');
Expand Down

0 comments on commit c932c47

Please sign in to comment.