Skip to content

Commit

Permalink
fix(build_gen): handle errdetails_go_proto as a dep (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz committed Apr 5, 2021
1 parent 50a2f65 commit 1f0a0ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ private Set<String> mapGoProtoDeps(Set<String> protoImports) {
goImports.add(replaceLabelName(protoImport, ":monitoredres_go_proto"));
} else if (protoImport.endsWith(":launch_stage_proto")) {
goImports.add(replaceLabelName(protoImport, ":api_go_proto"));
} else if (protoImport.endsWith(":error_details_proto")) {
goImports.add(replaceLabelName(protoImport, ":errdetails_go_proto"));
} else {
goImports.add(protoImport.replaceAll("_proto$", "_go_proto"));
}
Expand Down

0 comments on commit 1f0a0ef

Please sign in to comment.