Skip to content

Commit

Permalink
trim descriptions of traits
Browse files Browse the repository at this point in the history
  • Loading branch information
danflapjax authored Sep 24, 2024
1 parent 3eefb29 commit 367aa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compile/src/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export function trait(input: File) {
value: Boolean(value),
counterexamples_id,
refs,
description,
description: String(description).trim(),
})

if (!input.path.endsWith(paths.trait({ space, property }))) {
Expand Down

0 comments on commit 367aa82

Please sign in to comment.