Skip to content

Commit 25e0eae

Browse files
authored
fix(internal): fix relative pathing for generator (#4397)
1 parent 0be0f32 commit 25e0eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gapicgen/generator/gapics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func (g *GapicGenerator) microgen(conf *microgenConfig) error {
302302
args = append(args, "--go_gapic_opt", fmt.Sprintf("release-level=%s", conf.releaseLevel))
303303
}
304304
if conf.gRPCServiceConfigPath != "" {
305-
args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.inputDirectoryPath, conf.gRPCServiceConfigPath)))
305+
args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.gRPCServiceConfigPath)))
306306
}
307307
if !conf.disableMetadata {
308308
args = append(args, "--go_gapic_opt", "metadata")

0 commit comments

Comments
 (0)