fix: fix the kcov download link

This commit is contained in:
Amin Yahyaabadi 2022-07-27 13:35:11 -07:00
parent c1033204f2
commit d5d332b54c
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ import { isUbuntu } from "../utils/env/isUbuntu"
import { addVPrefix, removeVPrefix } from "../utils/setup/version"
import { info } from "../utils/io/io"
function getDownloadKcovPackageInfo(version_number: string): PackageInfo {
function getDownloadKcovPackageInfo(version: string): PackageInfo {
return {
url: `https://github.com/SimonKagstrom/kcov/releases/download/v${version_number}/kcov-amd64.tar.gz`,
url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,
extractedFolderName: "",
binRelativeDir: "usr/local/bin",
binFileName: addBinExtension("kcov"),