mirror of
https://github.com/actions/setup-go.git
synced 2025-05-22 02:22:24 +00:00
lint
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user