@locofy/mcp 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -490,9 +490,7 @@ function processDirectoryStructure(directoryStructure) {
|
|
|
490
490
|
// Then clean the structure
|
|
491
491
|
cleanNode(directoryStructure);
|
|
492
492
|
// Get the first child (the actual component data we want)
|
|
493
|
-
const result = directoryStructure.children
|
|
494
|
-
? directoryStructure.children[0]
|
|
495
|
-
: directoryStructure;
|
|
493
|
+
const result = directoryStructure.children;
|
|
496
494
|
// Add the component lists to the component data
|
|
497
495
|
result.componentsToUpdate = [...new Set(componentsToUpdate)];
|
|
498
496
|
result.componentsUnchanged = [...new Set(componentsUnchanged)];
|