From fe9e68850fc8c81c43df5bfd52125fc5ba64f99a Mon Sep 17 00:00:00 2001 From: Fred Date: Thu, 9 Nov 2023 09:30:44 -0500 Subject: [PATCH] fix: apostrophes in providers name caused an unbalance Replaced the apostrophes that enclosed the output from Swift so that they don't get closed prematurely by apostrophes inside the output. --- .github/workflows/add_new_or_updated_feeds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add_new_or_updated_feeds.yml b/.github/workflows/add_new_or_updated_feeds.yml index 847dc982..dffe5c53 100644 --- a/.github/workflows/add_new_or_updated_feeds.yml +++ b/.github/workflows/add_new_or_updated_feeds.yml @@ -92,7 +92,7 @@ jobs: pip install gtfs_kit --quiet pip install unidecode --quiet - sections=$(echo '${{ steps.process-csv.outputs.PYTHON_SCRIPT_ARGS }}' | sed 's/""/"/g' | awk -F'§' '{for (i=1; i<=NF; i++) print $i}') + sections=$(echo "${{ steps.process-csv.outputs.PYTHON_SCRIPT_ARGS }}" | sed 's/""/"/g' | awk -F'§' '{for (i=1; i<=NF; i++) print $i}') for section in "${sections[@]}"; do eval "python -c 'from tools.operations import *; ${section}'" done