Skip to content

Commit 134804f

Browse files
authored
Update helm-git-plugin.sh
1 parent 99710b7 commit 134804f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

helm-git-plugin.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ git_cache_intercept() {
133133
repo_tokens=$(echo "${_git_repo}" | sed -E -e 's/[^/]+\/\/([^@]*@)?([^/]+)\/(.+)$/\2 \3/' -e 's/\.git$//g')
134134
repo_host=$(echo "${repo_tokens}" | cut -d " " -f1)
135135
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
140136

141137
repo_path="${HELM_GIT_REPO_CACHE}/${repo_host}/${repo_repo}"
142138
debug "Calculated cache path for repo ${_git_repo} is ${repo_path}"

0 commit comments

Comments
 (0)