Skip to content

Commit

Permalink
proper quotes if id is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Aug 24, 2023
1 parent fa06464 commit 0671790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformsh/generate_route.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export original_url=$6

idline='"id": null'
if [ ! -z ${id} ]; then
idline="\"id\": ${id}"
idline="\"id\": \"${id}\""
fi

read -r -d '' route_stanza <<ROUTE_EOF
Expand Down

0 comments on commit 0671790

Please sign in to comment.