Fix jq list output

Signed-off-by: Evan Lloyd New-Schmidt <evan@new-schmidt.com>
This commit is contained in:
Evan Lloyd New-Schmidt 2023-08-16 14:41:19 -04:00
parent bae03b91c8
commit fe295b2379

View file

@ -26,7 +26,7 @@ source lib.sh
if [ -z "${LANGUAGES:-}" ]; then
# Load languages from config.
LANGUAGES=$(jq -r '(.sections_to_remove | keys)' article_processing_config.json)
LANGUAGES=$(jq -r '(.sections_to_remove | keys | .[])' article_processing_config.json)
fi
log "Selected languages: $LANGUAGES"