Skip to content

Commit

Permalink
fix: apostrophes in providers name caused an unbalance
Browse files Browse the repository at this point in the history
Replaced the apostrophes that enclosed the output from Swift so that they don't get closed prematurely by apostrophes inside the output.
  • Loading branch information
fredericsimard committed Nov 9, 2023
1 parent d3b6fea commit fe9e688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/add_new_or_updated_feeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe9e688

Please sign in to comment.