Skip to content

Commit

Permalink
update error message according to review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingzhe Huang (from Dev Box) committed Jul 24, 2024
1 parent 0857064 commit f45476c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typespec-client-generator-core/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const $lib = createTypeSpecLibrary({
"flatten-polymorphism": {
severity: "error",
messages: {
default: `Flattening polymorphic types is not supported.`,
default: `Cannot flatten property of polymorphic type.`,
},
},
},
Expand Down

0 comments on commit f45476c

Please sign in to comment.