in src/helm-util.ts [39:56]
export async function downloadHelm(version: string): Promise<string> {
if (!version) {
version = await getStableVerison(helmToolName)
}
let cachedToolpath = toolCache.find(helmToolName, version)
if (!cachedToolpath) {
cachedToolpath = await setCachedToolPath(helmToolName, version)
}
const helmpath = findHelm(cachedToolpath)
if (!helmpath) {
throw new Error(
util.format('Helm executable not found in path ', cachedToolpath)
)
}
fs.chmodSync(helmpath, '777')
return helmpath
}