Skip to content

Commit 439f3c7

Browse files
authored
Fix deprecated include types flag for buf generate (#3679)
1 parent 7a4c6d5 commit 439f3c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [Unreleased]
44

55
- Fix `buf convert` to allow for zero length for `binpb`, `txtpb`, and `yaml` formats.
6+
- Fix use of deprecated flag `--include-types` for `buf generate`.
67

78
## [v1.50.1] - 2025-03-10
89

private/buf/cmd/buf/command/generate/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ func run(
516516
flags.Config,
517517
flags.Paths,
518518
flags.ExcludePaths,
519-
flags.Types,
519+
append(flags.Types, flags.TypesDeprecated...),
520520
)
521521
if err != nil {
522522
return err

0 commit comments

Comments
 (0)