We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99710b7 commit 134804fCopy full SHA for 134804f
helm-git-plugin.sh
@@ -133,10 +133,6 @@ git_cache_intercept() {
133
repo_tokens=$(echo "${_git_repo}" | sed -E -e 's/[^/]+\/\/([^@]*@)?([^/]+)\/(.+)$/\2 \3/' -e 's/\.git$//g')
134
repo_host=$(echo "${repo_tokens}" | cut -d " " -f1)
135
repo_repo=$(echo "${repo_tokens}" | cut -d " " -f2)
136
- if [ ! -d "${HELM_GIT_REPO_CACHE}" ]; then
137
- debug "HELM_GIT_REPO_CACHE:${HELM_GIT_REPO_CACHE} is not a directory, cannot cache"
138
- return 1
139
- fi
140
141
repo_path="${HELM_GIT_REPO_CACHE}/${repo_host}/${repo_repo}"
142
debug "Calculated cache path for repo ${_git_repo} is ${repo_path}"
0 commit comments