diff --git a/lib/helmsnap/setup_dependencies.rb b/lib/helmsnap/setup_dependencies.rb index cf20514..a33190b 100644 --- a/lib/helmsnap/setup_dependencies.rb +++ b/lib/helmsnap/setup_dependencies.rb @@ -22,7 +22,7 @@ def call attr_accessor :config, :processed_paths def clear_existing_repos! - result = run_cmd("helm", "repo", "ls").output + result = run_cmd("helm", "repo", "ls", allow_failure: true).output result.scan(/#{REPO_NAME_PREFIX}\S+/o) do |repo_name| run_cmd("helm", "repo", "remove", repo_name)