chore(lint): fix changed gate drift

This commit is contained in:
Vincent Koc
2026-04-28 21:09:46 -07:00
parent 09cb0b0e64
commit a2e077e468
3 changed files with 3 additions and 8 deletions

View File

@@ -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) => {

View File

@@ -91,7 +91,7 @@ function listDeclaredQaRunnerPlugins(
qaRunners: NonNullable<PluginManifestRecord["qaRunners"]>;
}
> {
return loadPluginManifestRegistry({ ...(env ? { env } : {}) })
return loadPluginManifestRegistry(env ? { env } : {})
.plugins.filter(
(
plugin,

View File

@@ -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");