From c4bff616a59099c734cf977ebb8d697629ef531e Mon Sep 17 00:00:00 2001 From: mpraski Date: Mon, 25 Jan 2021 17:42:27 +0100 Subject: [PATCH] Update repo cache after adding --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 82a6ef23..30cf8c14 100644 --- a/index.js +++ b/index.js @@ -176,7 +176,8 @@ async function addRepo(helm) { if (repoUsername) args.push(`--username=${repoUsername}`); if (repoPassword) args.push(`--password=${repoPassword}`); - return exec.exec(helm, args); + await exec.exec(helm, args); + await exec.exec(helm, ["repo", "update"]) } return Promise.resolve()