From aa2781c6605f65fec2e16915719684bbb9294fc1 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Thu, 28 Jul 2022 16:23:36 +0000 Subject: [PATCH] Only attempt to parse unique parents --- converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter.sh b/converter.sh index e33e1f6..c05ef26 100755 --- a/converter.sh +++ b/converter.sh @@ -248,7 +248,7 @@ map_values(if real_file(.path) != null then . else empty end) # get a bash array of all our input models status_message process "Creating a bash array for remaing models in our predicate config" -model_array=($(jq -r '.[].path' config.json)) +model_array=($(jq -r '[.[].path] | unique | .[]' config.json)) # find initial parental information status_message process "Doing an initial sweep for level 1 parentals"