Skip to content

Commit 2c1110b

Browse files
committed
Fix CI: rename docs to lowercase, skip non-symbol exports in schema
1 parent fd70889 commit 2c1110b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
File renamed without changes.

src/components/drawing/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ drawing.symbolList = [];
331331

332332
Object.keys(SYMBOLDEFS).forEach(function (k) {
333333
var symDef = SYMBOLDEFS[k];
334+
// Skip non-symbol exports (like 'align' function)
335+
if (typeof symDef !== 'object' || symDef.n === undefined) return;
334336
var n = symDef.n;
335337
drawing.symbolList.push(
336338
n,

0 commit comments

Comments
 (0)