Skip to content

Commit

Permalink
apps: Fix for the charts script when pull
Browse files Browse the repository at this point in the history
  • Loading branch information
crssnd authored and crssnd committed Oct 20, 2023
1 parent 2db204f commit 3f9f19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ run_pull() {

mkdir -p "${CHARTS}/tmp"

error="$(helm pull "${chart}" --version "${requested_version}" --untar --untardir "${CHARTS}/tmp/${chart%%/*}" 2>&1 || true)"

error="$(helm pull "${chart}" --version "${requested_version}" --untar --untardir "${CHARTS}/tmp/${chart%%/*}" 2>&1 > /dev/null || true)"
error="$(grep "Error" <<< "${error}" || true)"
if [[ -z "${error}" ]]; then
rm -rf "${CHARTS:?}/${chart:?}"
mkdir -p "${CHARTS}/${chart%%/*}"
Expand Down

0 comments on commit 3f9f19e

Please sign in to comment.