Commit 95a6828
authored
fix(internal/librarian/nodejs): stop renaming snippet metadata files (#4840)
The copySamplesFromStaging function was renaming snippet metadata files
from the generator's underscore pattern (snippet_metadata_<api>.json) to
a dot pattern (snippet_metadata.<api>.json). This caused repos to end up
with both naming variants, since the old dot-pattern files were never
cleaned up.
Use the generator's underscore pattern as the canonical name.1 parent aee2374 commit 95a6828
2 files changed
Lines changed: 4 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | 453 | | |
461 | 454 | | |
462 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
828 | | - | |
| 827 | + | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
833 | | - | |
| 832 | + | |
| 833 | + | |
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | 847 | | |
854 | 848 | | |
855 | 849 | | |
| |||
0 commit comments