chore: fix some minor issues in the comments

Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
cloudclaim 2025-06-28 20:38:32 +08:00 committed by Mike Farah
parent 1187c954ec
commit 544bd9ff6f
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
---
a: apple
b: bannana
b: banana
---
hello there
apples: great

View File

@ -2,7 +2,7 @@
Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps.
Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`.
Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`.
## to_entries Map
Given a sample.yml file of:

View File

@ -2,4 +2,4 @@
Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps.
Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`.
Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`.