Skip to content

Commit

Permalink
fix(cli): fix CRD constructor (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinebayar-g authored Dec 21, 2024
1 parent 2f7774f commit d0675d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ async function main() {
},
],
statements: [
'super();',
'super(args.metadata?.name || name);',
'this.metadata = args.metadata || { name };',
'this.spec = args.spec;',
'app.resources.push(this);',
'app.addResource(this);',
],
},
],
Expand Down

0 comments on commit d0675d3

Please sign in to comment.