Update 19-json_repair.sh

This commit is contained in:
Alexandre
2022-01-20 10:04:42 +01:00
committed by GitHub
parent 48b7b8fad2
commit 87e71cc6ab

View File

@@ -22,7 +22,7 @@ if [ -f ${JSONTOCHECK} ]; then
mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE})
# Check if all keys are still there, or add them
# hadolint IGNORE=SC2068
# spellcheck IGNORE=SC2068
for KEYS in ${arr[@]}; do
# Check if key exists
KEYSTHERE=$(jq "has(\"${KEYS}\")" ${JSONTOCHECK})