From f543d166383a27d20be44962ca905e43391522b3 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 4 Sep 2019 01:57:38 +0200 Subject: [PATCH] Fix def --- src/installer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installer.ts b/src/installer.ts index 7e19cfb..0803be3 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -109,8 +109,8 @@ function getDownloadUrl(filename: string): string { function setGoEnvironmentVariables(goRoot: string) { core.exportVariable('GOROOT', goRoot); - const goPath = getGoPath(); - const goBin = process.env['GOBIN'] || ''; + const goPath: string = getGoPath(); + const goBin: string = process.env['GOBIN'] || ''; // set GOPATH and GOBIN as user value if (goPath) {