1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00

fixes spacing in jq files

This commit is contained in:
David McDonald 2022-11-29 00:41:40 -06:00
parent a351c346f6
commit f535ad3de9
2 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ def _apple_bookmark_torepr:
elif .type == "UUID" then .data | tovalue elif .type == "UUID" then .data | tovalue
elif .type == "URL" then .data | tovalue elif .type == "URL" then .data | tovalue
elif .type == "RelativeURL" then elif .type == "RelativeURL" then
.data | map(.record.data) .data | map(.record.data)
end end
); );
( .bookmark_entries ( .bookmark_entries
| map({key: (.key_string?.record.data // .key|tostring), value: (.record | _f)}) | map({key: (.key_string?.record.data // .key|tostring), value: (.record | _f)})
| from_entries | from_entries

View File

@ -23,7 +23,7 @@ def _bplist_torepr:
) )
else error("unknown type: \(.type)") else error("unknown type: \(.type)")
end end
); );
( .objects ( .objects
| _f | _f
); );