Skip to content

Commit

Permalink
fix: replaces newlines in INPUT_SOURCES to create a comma-separated list
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Jan 15, 2024
1 parent e3c769f commit eeaa651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/sync-upstreams/sync-upstreams-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source /common.sh
set_git_safe_directory

# Transform the input sources into a comma separated list
INPUT_SOURCES=$(echo "${INPUT_SOURCES}" | tr ' ' ',')
INPUT_SOURCES=$(echo "${INPUT_SOURCES}" | tr -d '\n' | tr -s ' ' | tr ' ' ',')

# Initialize the command variable
command="trestlebot-sync-upstreams \
Expand Down

0 comments on commit eeaa651

Please sign in to comment.