Browse Source

Used jq optional notation

expose_links
Drew Short 5 years ago
parent
commit
f5025d5c97
  1. 2
      assets/common.sh

2
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:"

Loading…
Cancel
Save