From b88a6180772bf1031be765dfe8aa61afb8733cb5 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Wed, 22 Jan 2020 21:57:06 -0600 Subject: [PATCH] Fixed non default args list --- assets/out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/out b/assets/out index bf7f96f..4572d5f 100644 --- a/assets/out +++ b/assets/out @@ -73,7 +73,7 @@ for destination in $destinations; do rclone_destination_subdir_file=$(_jq '.subdir // ""') rclone_dedupe=$(_jq '.dedupe // "false"') rclone_dedupe_mode=$(_jq '.dedupeMode // "newest"') - rclone_args=$(_jq '.args? | join(" ")') + rclone_args=$(_jq '.args // [] | join(" ")') echo "Destination: $rclone_destination" echo "Destination subdir file: ${rclone_destination_subdir_file}"