Skip to content

Commit

Permalink
Merge pull request #4 from vimeda/helm-repo-update
Browse files Browse the repository at this point in the history
Update repo cache after adding
  • Loading branch information
mpraski authored Jan 26, 2021
2 parents caab363 + c4bff61 commit 3dd2a4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3dd2a4b

Please sign in to comment.