Commit 5f58ed7
fix(utilities): add globalfields.json to readGlobalFieldSchemas ignore list
Prevents silent data corruption when a CLI v1 export archive containing
global_fields/globalfields.json is passed to readGlobalFieldSchemas — the
bulk array file is now skipped instead of being parsed as a single schema
element. readContentTypeSchemas is unaffected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ee6fd07 commit 5f58ed7
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments