fix(docs-ui): strip backticks from affected component names in changelog sync
Vale validation can require backticks around component names like `useTable` in changesets. The sync script now strips backticks so these names are matched correctly. Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
@@ -298,7 +298,7 @@ async function parseListItem(
|
||||
if (componentMatch) {
|
||||
const componentNames = componentMatch[1]
|
||||
.split(',')
|
||||
.map(name => name.trim())
|
||||
.map(name => name.trim().replace(/`/g, ''))
|
||||
.filter(Boolean);
|
||||
|
||||
componentNames.forEach(name => {
|
||||
|
||||
Reference in New Issue
Block a user