Skip to content

Commit

Permalink
Fix script: delete blank description
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Jun 17, 2024
1 parent d755fbb commit 77d3c2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lint/fixer/descriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const fixDescriptions = (filename: string): void => {

if (error.expected) {
feature.compat.description = error.expected;
} else if (error.expected === '') {
delete feature.compat.description;
}
}
}
Expand Down

0 comments on commit 77d3c2d

Please sign in to comment.