Skip to content

Commit

Permalink
fix(internal): fix relative pathing for generator (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Jul 8, 2021
1 parent 0be0f32 commit 25e0eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gapicgen/generator/gapics.go
Expand Up @@ -302,7 +302,7 @@ func (g *GapicGenerator) microgen(conf *microgenConfig) error {
args = append(args, "--go_gapic_opt", fmt.Sprintf("release-level=%s", conf.releaseLevel))
}
if conf.gRPCServiceConfigPath != "" {
args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.inputDirectoryPath, conf.gRPCServiceConfigPath)))
args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.gRPCServiceConfigPath)))
}
if !conf.disableMetadata {
args = append(args, "--go_gapic_opt", "metadata")
Expand Down

0 comments on commit 25e0eae

Please sign in to comment.