Skip to content

Commit

Permalink
chore(gapicgen): fix omit-snippets (#7611)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz authored Mar 22, 2023
1 parent 75e992d commit a923de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gapicgen/generator/gapics.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func (g *GapicGenerator) microgen(conf *MicrogenConfig) error {
"-I", g.protoDir,
"--go_gapic_out", g.googleCloudDir,
// TODO(chrisdsmith): Enable snippets by deleting the next line after removing internal/gapicgen/gensnippets.
"--go_gapic_opt", "omit-snippets=true",
"--go_gapic_opt", "omit-snippets",
"--go_gapic_opt", fmt.Sprintf("go-gapic-package=%s;%s", conf.ImportPath, conf.Pkg),
"--go_gapic_opt", fmt.Sprintf("api-service-config=%s", filepath.Join(conf.InputDirectoryPath, conf.ApiServiceConfigPath))}

Expand Down

0 comments on commit a923de9

Please sign in to comment.