Skip to content

Commit

Permalink
add debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov committed Jan 26, 2022
1 parent b801b2a commit 18c672e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions __tests__/setup-go.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,11 @@ describe('setup-go', () => {
// a version which is not in the manifest but is in node dist
let versionSpec = '1.13';

console.log(
`process.env['GITHUB_PATH'] = ''; is ${process.env['GITHUB_PATH']}`
);
process.env['GITHUB_PATH'] = '';

inputs['go-version'] = versionSpec;
inputs['check-latest'] = true;
inputs['always-auth'] = false;
Expand Down Expand Up @@ -733,10 +738,6 @@ describe('setup-go', () => {
expect(logSpy).toHaveBeenCalledWith(
`Attempting to download ${versionSpec}...`
);
console.log(
`process.env['GITHUB_PATH'] = ''; is ${process.env['GITHUB_PATH']}`
);
process.env['GITHUB_PATH'] = '';

expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
});
Expand Down

0 comments on commit 18c672e

Please sign in to comment.