From 544bd9ff6f3626034938c24b53c20fe07f9b52bf Mon Sep 17 00:00:00 2001 From: cloudclaim <824973921@qq.com> Date: Sat, 28 Jun 2025 20:38:32 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: cloudclaim <824973921@qq.com> --- examples/front-matter.yaml | 2 +- pkg/yqlib/doc/operators/entries.md | 2 +- pkg/yqlib/doc/operators/headers/entries.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/front-matter.yaml b/examples/front-matter.yaml index 8ce5d4bc..8d513037 100644 --- a/examples/front-matter.yaml +++ b/examples/front-matter.yaml @@ -1,6 +1,6 @@ --- a: apple -b: bannana +b: banana --- hello there apples: great \ No newline at end of file diff --git a/pkg/yqlib/doc/operators/entries.md b/pkg/yqlib/doc/operators/entries.md index 232ff4df..4e2ce2dd 100644 --- a/pkg/yqlib/doc/operators/entries.md +++ b/pkg/yqlib/doc/operators/entries.md @@ -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: diff --git a/pkg/yqlib/doc/operators/headers/entries.md b/pkg/yqlib/doc/operators/headers/entries.md index 85bdd262..731a8f78 100644 --- a/pkg/yqlib/doc/operators/headers/entries.md +++ b/pkg/yqlib/doc/operators/headers/entries.md @@ -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`.