From 6b2ba8246a643bae57aeae793d1bc7e82760eecf Mon Sep 17 00:00:00 2001 From: Dor Date: Tue, 14 Feb 2023 09:23:54 +0200 Subject: [PATCH] Update install.ts --- src/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.ts b/src/install.ts index 668daf5..b8f0e12 100644 --- a/src/install.ts +++ b/src/install.ts @@ -35,7 +35,7 @@ const getAssetURL = (versionConfig: VersionConfig): string => { export async function installLint(versionConfig: VersionConfig): Promise { core.info(`Installing golangci-lint ${versionConfig.TargetVersion}...`) const startedAt = Date.now() - const assetURL = = core.getInput('asset-url') ?? getAssetURL(versionConfig) + const assetURL = = core.getInput('asset-url') || getAssetURL(versionConfig) core.info(`Downloading ${assetURL} ...`) const archivePath = await tc.downloadTool(assetURL) let extractedDir = ""