Skip to content

Commit

Permalink
build: Add generation of AzureRm Validators
Browse files Browse the repository at this point in the history
  • Loading branch information
toxophilist committed Aug 29, 2024
1 parent 4998896 commit 7f16410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocd/packages/codegen-cli/src/ocd-codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if (command.toLocaleLowerCase() === 'generate') {
// else if (subcommand.toLocaleLowerCase() === 'azureaz-model-js') generator = new AzureModelGenerator()
// else if (subcommand.toLocaleLowerCase() === 'azureaz-validator-js') generator = new AzureValidatorGenerator()
else if (subcommand.toLocaleLowerCase() === 'azurerm-model-js') generator = new AzureModelGenerator()
// else if (subcommand.toLocaleLowerCase() === 'azurerm-validator-js') generator = new AzureValidatorGenerator()
else if (subcommand.toLocaleLowerCase() === 'azurerm-validator-js') generator = new AzureValidatorGenerator()
if (generator !== undefined) {
Object.entries(schema).forEach(([key, value]) => {
generator.generate(key, value)
Expand Down

0 comments on commit 7f16410

Please sign in to comment.