mirror of
https://github.com/mikefarah/yq.git
synced 2026-08-24 08:22:13 +08:00
sort_by works on maps
This commit is contained in:
+3
-11
@@ -1,11 +1,3 @@
|
||||
# block comments come through
|
||||
person: # neither do comments on maps
|
||||
name: Mike Wazowski # comments on values appear
|
||||
pets:
|
||||
- cat # comments on array values appear
|
||||
- dog # comments on array values appear
|
||||
- things:
|
||||
- frog
|
||||
food: [pizza] # comments on arrays do not
|
||||
emptyArray: []
|
||||
emptyMap: []
|
||||
Foo: 3
|
||||
apple: 1
|
||||
bar: 2
|
||||
Reference in New Issue
Block a user