Fix jq list output
Signed-off-by: Evan Lloyd New-Schmidt <evan@new-schmidt.com>
This commit is contained in:
parent
bae03b91c8
commit
fe295b2379
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue