ran format and fixed licensed

This commit is contained in:
redanthrax 2022-06-28 17:12:31 -07:00
parent 0111cab163
commit 0039f448c5
4 changed files with 34 additions and 2 deletions

View file

@ -134,7 +134,7 @@ async function installGoVersion(
core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`);
let downloadPath: string;
const platform = os.platform();
if(platform === 'win32') {
if (platform === 'win32') {
downloadPath = await tc.downloadTool(info.downloadUrl, info.fileName, auth);
} else {
downloadPath = await tc.downloadTool(info.downloadUrl, undefined, auth);