Skip to content

Commit

Permalink
Remove broken escape character
Browse files Browse the repository at this point in the history
We are not using `echo -n`, so the `\n` is output literally rather than
being escaped. It's not necessary anyway, so let's just get rid of it.
  • Loading branch information
pathawks committed Jul 13, 2018
1 parent 8c2cf8d commit f0ea01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/sqs/process
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ -z $JSON_RESPONSE ]]; then
exit 1
fi

echo "JSON =\n$JSON_RESPONSE"
echo "JSON = $JSON_RESPONSE"

PR=$(jq -r '.Messages[0].MessageAttributes.pr.StringValue' <<< $JSON_RESPONSE)
URL=$(jq -r '.Messages[0].MessageAttributes.url.StringValue' <<< $JSON_RESPONSE)
Expand Down

0 comments on commit f0ea01a

Please sign in to comment.