mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-24 04:57:02 +00:00
Multi-recipient swaks test
- Add a multi-recipient test to run-tests.sh - Removal accidental output of jq binary location when pretty-printing REST JSON - Add To: change to CHANGELOG.md - Fix comment typo
This commit is contained in:
@@ -103,7 +103,7 @@ main() {
|
||||
esac
|
||||
|
||||
# Use jq to pretty-print if installed and we are expecting JSON output
|
||||
if [ $pretty ] && [ $is_json ] && type -P jq; then
|
||||
if [ $pretty ] && [ $is_json ] && type -P jq >/dev/null; then
|
||||
curl -s $curl_opts -H "Accept: application/json" --noproxy "$API_HOST" -X "$method" "$url" | jq .
|
||||
else
|
||||
curl -s $curl_opts -H "Accept: application/json" --noproxy "$API_HOST" -X "$method" "$url"
|
||||
|
||||
Reference in New Issue
Block a user