From e611375e7512fd064e33885f79b70135d2762ea3 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 28 Jul 2022 09:19:25 -0600 Subject: [PATCH] Force remove cf filter output in auto update workflow --- .github/workflows/update-instances.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 315465a..3eec4a9 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -28,7 +28,7 @@ jobs: } function remove_cf_instances() { - rm out.json + rm -f out.json file="services-full.json" while read -r line; do @@ -49,7 +49,7 @@ jobs: sed -i '' -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json cat out.json | jq --indent 2 . > services.json - rm out.json + rm -f out.json } # ==============================================================