Skip to content

Commit

Permalink
Update repo cache after adding
Browse files Browse the repository at this point in the history
  • Loading branch information
mpraski committed Jan 25, 2021
1 parent caab363 commit c4bff61
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 c4bff61

Please sign in to comment.