@pwddd/skills-scanner 2.4.0 → 2.4.1
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.
Potentially problematic release.
This version of @pwddd/skills-scanner might be problematic. Click here for more details.
- package/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -661,7 +661,7 @@ function startWatcher(
|
|
|
661
661
|
|
|
662
662
|
// ── Plugin 入口 ───────────────────────────────────────────────────────────────
|
|
663
663
|
|
|
664
|
-
export default
|
|
664
|
+
export default function register(api: any) {
|
|
665
665
|
const cfg: ScannerConfig = api.config?.plugins?.entries?.["skills-scanner"]?.config ?? {};
|
|
666
666
|
const apiUrl = cfg.apiUrl ?? "http://localhost:8000";
|
|
667
667
|
const scanDirs = (cfg.scanDirs?.map(expandPath) ?? []).filter(existsSync).length > 0
|