From 8cb4c90219908c0868e319a973b5d8894af26c4b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 Jan 2022 10:06:47 +0100 Subject: [PATCH] Update 19-json_repair.sh --- .templates/19-json_repair.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.templates/19-json_repair.sh b/.templates/19-json_repair.sh index d6546afcf..acd5f2cd2 100644 --- a/.templates/19-json_repair.sh +++ b/.templates/19-json_repair.sh @@ -22,6 +22,7 @@ if [ -f ${JSONTOCHECK} ]; then mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE}) # Check if all keys are still there, or add them + # spellcheck disable=SC2068 for KEYS in ${arr[@]}; do # Check if key exists KEYSTHERE=$(jq "has(\"${KEYS}\")" ${JSONTOCHECK})