Skip to content

Commit

Permalink
fix choice
Browse files Browse the repository at this point in the history
  • Loading branch information
msxichen committed Aug 4, 2020
1 parent 6fc7c73 commit efb04ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/enums/namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class NewEnumNamespace extends Namespace {
super('Support', parent);
this.apply(objectInitializer);
//const enumInfos = [...state.model.schemas.sealedChoices ?? [], ...state.model.schemas.choices ?? []]
const enumInfos = [...state.model.schemas.sealedChoices || []]
const enumInfos = [...state.model.schemas.sealedChoices ?? [], ...state.model.schemas.choices ?? []]
.filter((choice) => !choice.language.csharp?.skip)
.map((choice) => {
return {
Expand Down

0 comments on commit efb04ac

Please sign in to comment.