Skip to content

Commit 3dd2a4b

Browse files
authored
Merge pull request #4 from vimeda/helm-repo-update
Update repo cache after adding
2 parents caab363 + c4bff61 commit 3dd2a4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ async function addRepo(helm) {
176176
if (repoUsername) args.push(`--username=${repoUsername}`);
177177
if (repoPassword) args.push(`--password=${repoPassword}`);
178178

179-
return exec.exec(helm, args);
179+
await exec.exec(helm, args);
180+
await exec.exec(helm, ["repo", "update"])
180181
}
181182

182183
return Promise.resolve()

0 commit comments

Comments
 (0)