Skip to content

Commit

Permalink
Remove old JSON warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarah committed Mar 23, 2024
1 parent d9ef03a commit fbd4c84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 2 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fbd4c84

Please sign in to comment.