mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-09 20:12:23 +02:00
lint
This commit is contained in:
parent
75899f8cdf
commit
3e014ec8a4
2 changed files with 4 additions and 2 deletions
|
@ -67,7 +67,7 @@ function addBinToPath(): boolean {
|
|||
let d = buf.toString().trim();
|
||||
core.debug(`go env GOPATH: ${d}`);
|
||||
let bp = path.join(d, 'bin');
|
||||
|
||||
|
||||
if (fs.existsSync(bp)) {
|
||||
core.debug(`${bp} exists`);
|
||||
core.addPath(bp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue