Skip to content

Commit

Permalink
Update helm-git-plugin.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Jul 9, 2024
1 parent 01aa66b commit 80d17d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-git-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ main() {
# shellcheck disable=SC2317
cleanup() {
rm -rf "$git_root_path" "${helm_home_target_path:-}"
[ "$cache_charts_enabled" = 0 ] || rm -rf "${helm_target_path:-}"
[ "$cache_charts_enabled" = 1 ] || rm -rf "${helm_target_path:-}"
}
trap cleanup EXIT

Expand Down

0 comments on commit 80d17d1

Please sign in to comment.