Commit ab5ba1d
authored
fix: change folder prefix for adding headers (#2688)
In this PR:
- Change post processor to add header when the folder name starts with
`proto-` or `grpc-`.
- Change post processor to add pom.xml when the folder name starts with
`proto-` or `grpc-`.
Context: we received a library generation request which the library name
doesn't start with `google-` (b/329445405). The generated library has
two issues: 1) pom.xml is not generated in `proto-` folder; 2) files in
`proto-` folder have no header. This library uses REST so no `grpc-`
folder was generated.1 parent feeb61f commit ab5ba1d
File tree
2 files changed
+4
-4
lines changed- sdk-platform-java/library_generation/owlbot/src
2 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
0 commit comments