diff --git a/assets/common.sh b/assets/common.sh index 73a5dcb..2eadc38 100644 --- a/assets/common.sh +++ b/assets/common.sh @@ -22,7 +22,7 @@ load_config() { load_files() { set +e - local files=$(jq -r '.source.files | keys | join(" ") // ""' < $1) 2> /dev/null + local files=$(jq -r '.source.files? | keys? | join(" ") // ""' < $1) set -e # TODO: Remove Me - DEBUGGING echo "Files:"