mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 06:10:22 +00:00
fix: restore ci type checks
This commit is contained in:
@@ -175,7 +175,7 @@ describe("plugin-sdk exports", () => {
|
||||
|
||||
const { default: importResults } = await import(pathToFileURL(consumerEntry).href);
|
||||
expect(importResults).toEqual(
|
||||
Object.fromEntries(pluginSdkSpecifiers.map((specifier) => [specifier, "object"])),
|
||||
Object.fromEntries(pluginSdkSpecifiers.map((specifier: string) => [specifier, "object"])),
|
||||
);
|
||||
} finally {
|
||||
await fs.rm(outDir, { recursive: true, force: true });
|
||||
|
||||
@@ -13,7 +13,7 @@ import { pluginSdkSubpaths } from "../../scripts/lib/plugin-sdk-entries.mjs";
|
||||
|
||||
const importPluginSdkSubpath = (specifier: string) => import(/* @vite-ignore */ specifier);
|
||||
|
||||
const bundledExtensionSubpathLoaders = pluginSdkSubpaths.map((id) => ({
|
||||
const bundledExtensionSubpathLoaders = pluginSdkSubpaths.map((id: string) => ({
|
||||
id,
|
||||
load: () => importPluginSdkSubpath(`openclaw/plugin-sdk/${id}`),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user