stop deleting inexistant jsonl

This commit is contained in:
sakrecoer 2026-07-31 01:10:51 +02:00
parent dce6b3b752
commit 35e7233853

View file

@ -27,9 +27,6 @@ for kind in "${!KINDS[@]}"; do
# Fetch and convert to JSON
nak req -k "$kind" -a "$PUBKEY" "$RELAY" | jq -s '.' > "$DATA_DIR/$output.json"
# Remove any existing .jsonl file in the same directory
rm -f "$DATA_DIR/$(dirname "$output")"/*.jsonl
echo "Saved to $DATA_DIR/$output.json"
done