test(plugin-sdk): tighten channel runtime shim scan · openclaw/openclaw@7e13f3f
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -655,7 +655,8 @@ describe("plugin-sdk subpath exports", () => {
|
655 | 655 | resolve(REPO_ROOT, "extensions"), |
656 | 656 | resolve(REPO_ROOT, "test"), |
657 | 657 | ], |
658 | | -pattern: /openclaw\/plugin-sdk\/channel-runtime(?=["'])/u, |
| 658 | +pattern: |
| 659 | +/(?:from\s+|import\s+(?:type\s+)?|import\s*\(\s*)["']openclaw\/plugin-sdk\/channel-runtime(?=["'])/u, |
659 | 660 | exclude: [ |
660 | 661 | "src/plugins/compat/registry.ts", |
661 | 662 | "src/plugins/sdk-alias.test.ts", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。