Closed binarybear-de closed 3 years ago
If there are spaces the check will crash with a unknown-state
Implementation of a replacing with e.g. underscores is advised.
Added replacing of spaces in values with underscores
Expanded line 40 from echo $JSON | jq " .$1 " | sed -e 's/"//g' to echo $JSON | jq " .$1 " | sed -e 's/ /_/g' | sed -e 's/"//g'
echo $JSON | jq " .$1 " | sed -e 's/"//g'
echo $JSON | jq " .$1 " | sed -e 's/ /_/g' | sed -e 's/"//g'
If there are spaces the check will crash with a unknown-state
Implementation of a replacing with e.g. underscores is advised.