fix: select_first was called with 1 empty values
@@ -180,7 +180,7 @@ task genbank_ingest {
export NEXTCLADE_CACHE="~{basename(select_first([cache_nextclade_old,'']),'.xz')}"
elif [[ $NEXTCLADE_CACHE == *.zst ]]; then
cp ~{cache_nextclade_old} .
- zstd -T0 -d ~{basename(select_first([cache_nextclade_old]))}
+ zstd -T0 -d ~{basename(select_first([cache_nextclade_old,'']))}
export NEXTCLADE_CACHE="~{basename(select_first([cache_nextclade_old,'']),'.zst')}"
fi
