Remove old JSON warning

This commit is contained in:
Mike Farah 2024-03-23 17:17:12 +11:00
parent d9ef03a2d1
commit fbd4c8428a
2 changed files with 2 additions and 4 deletions

View File

@ -75,10 +75,6 @@ func initCommand(cmd *cobra.Command, args []string) (string, []string, error) {
outputFormat = "yaml" outputFormat = "yaml"
} }
} else if isAutomaticOutputFormat() { } 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 outputFormat = inputFormat
} }
} else if isAutomaticOutputFormat() { } else if isAutomaticOutputFormat() {

View File

@ -1,7 +1,9 @@
4.43.1: (not released yet) 4.43.1: (not released yet)
- Added omit operator #1989 thanks @mbenson!
- Added tostring #72 - Added tostring #72
- Added string interpolation #1149 - Added string interpolation #1149
- Can specify parent(n) levels #1970 - Can specify parent(n) levels #1970
- Can now multiply strings by numbers #1988 thanks @mbenson!
- Fixed CSV line break issue #1974 - Fixed CSV line break issue #1974
- Adding a EvaluateAll function to StringEvaluator #1966 - Adding a EvaluateAll function to StringEvaluator #1966
- yqlib, default to colors off when using yaml library #1964 - yqlib, default to colors off when using yaml library #1964