mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Remove old JSON warning
This commit is contained in:
parent
d9ef03a2d1
commit
fbd4c8428a
@ -75,10 +75,6 @@ func initCommand(cmd *cobra.Command, args []string) (string, []string, error) {
|
||||
outputFormat = "yaml"
|
||||
}
|
||||
} else if isAutomaticOutputFormat() {
|
||||
// automatic input worked, we can do it for output too unless specified
|
||||
if inputFormat == "json" {
|
||||
yqlib.GetLogger().Warning("JSON file output is now JSON by default (instead of yaml). Use '-oy' or '--output-format=yaml' for yaml output")
|
||||
}
|
||||
outputFormat = inputFormat
|
||||
}
|
||||
} else if isAutomaticOutputFormat() {
|
||||
|
@ -1,7 +1,9 @@
|
||||
4.43.1: (not released yet)
|
||||
- Added omit operator #1989 thanks @mbenson!
|
||||
- Added tostring #72
|
||||
- Added string interpolation #1149
|
||||
- Can specify parent(n) levels #1970
|
||||
- Can now multiply strings by numbers #1988 thanks @mbenson!
|
||||
- Fixed CSV line break issue #1974
|
||||
- Adding a EvaluateAll function to StringEvaluator #1966
|
||||
- yqlib, default to colors off when using yaml library #1964
|
||||
|
Loading…
Reference in New Issue
Block a user