From 633f167f1816394634999319dbf1505deafb5da5 Mon Sep 17 00:00:00 2001 From: Tobi-wan Kenobi Date: Fri, 24 Feb 2017 18:13:17 +0100 Subject: [PATCH] [testjson] Exclude known invalid JSON from tests There are invalid JSON files in themes/ that are used for unit tests, so exclude those from the testjson.sh execution. see #41 --- testjson.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testjson.sh b/testjson.sh index ce473eae..d4df9f90 100755 --- a/testjson.sh +++ b/testjson.sh @@ -1,3 +1,3 @@ #!/bin/sh -find themes/ -name "*.json"|xargs cat|json_verify -s +find themes/ -name "*.json"|grep -v invalid|xargs cat|json_verify -s