Skip to content

Commit

Permalink
Minlopro: Added Shell Check job to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomeandrey committed Dec 26, 2024
1 parent 208e204 commit 0cc6135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy/post/custom/delete_obsolete_flow_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ if ! grep -q Id "$csvFileName"; then
exit 0
fi

while read c; do
while read -r c; do
if [[ "$c" != "Id" && "$c" != "Your query returned no results." ]]; then
sf data delete record \
--sobject "Flow" \
--record-id $c \
--record-id "$c" \
--target-org "$TARGET_ORG_ALIAS" \
--use-tooling-api
fi
Expand Down

0 comments on commit 0cc6135

Please sign in to comment.