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:
parent
a351c346f6
commit
f535ad3de9
@ -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
|
||||||
|
@ -23,7 +23,7 @@ def _bplist_torepr:
|
|||||||
)
|
)
|
||||||
else error("unknown type: \(.type)")
|
else error("unknown type: \(.type)")
|
||||||
end
|
end
|
||||||
);
|
);
|
||||||
( .objects
|
( .objects
|
||||||
| _f
|
| _f
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user