Skip to content

Commit 694de4b

Browse files
committed
trim fix for generate components html
1 parent c80ac2b commit 694de4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

components/dash-html-components/scripts/generate-components.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ if (!listPath) {
355355
const list = fs
356356
.readFileSync(listPath, 'utf8')
357357
.split('\n')
358+
.map(item => item.trim())
358359
.filter(item => Boolean(item));
359360

360361
// Get the mapping of attributes to elements

0 commit comments

Comments
 (0)