mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 04:50:44 +00:00
chore(lint): fix changed gate drift
This commit is contained in:
@@ -104,9 +104,7 @@ export function resolveRegistryPluginModuleLocation(params: {
|
||||
resolutionKey: string;
|
||||
env?: NodeJS.ProcessEnv;
|
||||
}): FacadeModuleLocation | null {
|
||||
const registry = getFacadeManifestRegistry({
|
||||
...(params.env ? { env: params.env } : {}),
|
||||
});
|
||||
const registry = getFacadeManifestRegistry(params.env ? { env: params.env } : {});
|
||||
return resolveRegistryPluginModuleLocationFromRecords({
|
||||
registry,
|
||||
dirName: params.dirName,
|
||||
@@ -208,9 +206,7 @@ function resolveBundledPluginManifestRecord(params: {
|
||||
return metadataRecord;
|
||||
}
|
||||
|
||||
const registry = getFacadeManifestRegistry({
|
||||
...(params.env ? { env: params.env } : {}),
|
||||
});
|
||||
const registry = getFacadeManifestRegistry(params.env ? { env: params.env } : {});
|
||||
const resolved =
|
||||
(params.location
|
||||
? registry.find((plugin) => {
|
||||
|
||||
@@ -91,7 +91,7 @@ function listDeclaredQaRunnerPlugins(
|
||||
qaRunners: NonNullable<PluginManifestRecord["qaRunners"]>;
|
||||
}
|
||||
> {
|
||||
return loadPluginManifestRegistry({ ...(env ? { env } : {}) })
|
||||
return loadPluginManifestRegistry(env ? { env } : {})
|
||||
.plugins.filter(
|
||||
(
|
||||
plugin,
|
||||
|
||||
@@ -4,7 +4,6 @@ type RegistryModule = typeof import("./registry.js");
|
||||
type RuntimeModule = typeof import("./runtime.js");
|
||||
type WebSearchProvidersRuntimeModule = typeof import("./web-search-providers.runtime.js");
|
||||
type ManifestRegistryModule = typeof import("./manifest-registry.js");
|
||||
type InstalledManifestRegistryModule = typeof import("./manifest-registry-installed.js");
|
||||
type PluginAutoEnableModule = typeof import("../config/plugin-auto-enable.js");
|
||||
type WebSearchProvidersSharedModule = typeof import("./web-search-providers.shared.js");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user