From 003c695170f15ad57a2f24f20e7351bbc46c9ff6 Mon Sep 17 00:00:00 2001 From: Alex Ameen Date: Sat, 30 Dec 2023 06:02:00 -0600 Subject: [PATCH] doc --- src/sh-scripts/ccjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sh-scripts/ccjs b/src/sh-scripts/ccjs index 5ece5b6..02c45a4 100755 --- a/src/sh-scripts/ccjs +++ b/src/sh-scripts/ccjs @@ -169,7 +169,7 @@ else #shellcheck disable=SC2119 TMPFILE="$( mktmp_auto; )"; - # Convert to object and back to deduplicate. + # Add the entry to the file, and remove old entry ( if present ). $JQ --argjson _ENTRY "$_ENTRY" "[\$_ENTRY] + .|unique_by( .output )" \ "$CCJS_OUT" > "$TMPFILE";