@miyucy/storybook-mcp 1.0.3 → 1.0.4
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.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -164,7 +164,7 @@ class Storybook {
|
|
164
164
|
absolute: true,
|
165
165
|
});
|
166
166
|
if (paths.length > 0) {
|
167
|
-
resolved[componentPath] =
|
167
|
+
resolved[componentPath] = paths[0];
|
168
168
|
}
|
169
169
|
}
|
170
170
|
}
|
@@ -181,7 +181,7 @@ class Storybook {
|
|
181
181
|
const task = tasks.pop();
|
182
182
|
if (!task) {
|
183
183
|
worker.terminate();
|
184
|
-
return;
|
184
|
+
return processNext();
|
185
185
|
}
|
186
186
|
worker.postMessage(task);
|
187
187
|
};
|