stop deleting inexistant jsonl
This commit is contained in:
parent
dce6b3b752
commit
35e7233853
1 changed files with 1 additions and 4 deletions
|
|
@ -26,10 +26,7 @@ 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue