Skip to content

Commit b7d4713

Browse files
committed
allow failure for helm repo ls cmd
1 parent e756d41 commit b7d4713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helmsnap/setup_dependencies.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def call
2222
attr_accessor :config, :processed_paths
2323

2424
def clear_existing_repos!
25-
result = run_cmd("helm", "repo", "ls").output
25+
result = run_cmd("helm", "repo", "ls", allow_failure: true).output
2626

2727
result.scan(/#{REPO_NAME_PREFIX}\S+/o) do |repo_name|
2828
run_cmd("helm", "repo", "remove", repo_name)

0 commit comments

Comments
 (0)