Skip to content

Commit

Permalink
fix!: always generate classes with version suffixes, closes cdk8s-tea…
Browse files Browse the repository at this point in the history
…m/cdk8s#1962

Signed-off-by: Shinebayar Gansukh <[email protected]>
  • Loading branch information
shinebayar-g committed Sep 14, 2024
1 parent c357bf6 commit ec7a4d2
Show file tree
Hide file tree
Showing 3 changed files with 33,158 additions and 33,158 deletions.
2 changes: 1 addition & 1 deletion src/import/crd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class CustomResourceDefinition {

// to preseve backwards compatiblity, only append a suffix for
// the second version onwards.
const suffix = i === 0 ? '' : toPascalCase(version.name);
const suffix = toPascalCase(version.name);

const types = new TypeGenerator({});

Expand Down
Loading

0 comments on commit ec7a4d2

Please sign in to comment.