mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 16:34:22 +01:00
Do not show arrays content
https://github.com/alexbelgium/hassio-addons/issues/1742#issuecomment-2617938514
This commit is contained in:
@@ -27,7 +27,7 @@ for KEYS in "${arr[@]}"; do
|
||||
VALUE=$(jq ."$KEYS" "${JSONSOURCE}")
|
||||
# Check if the value is an array
|
||||
if [[ "$VALUE" == \[* ]]; then
|
||||
bashio::log.warning "$VALUE is an array, skipping"
|
||||
bashio::log.warning "One of your option is an array, skipping"
|
||||
else
|
||||
# Continue for single values
|
||||
VALUE="${VALUE//[\"\']/}"
|
||||
|
||||
Reference in New Issue
Block a user