mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 09:20:22 +00:00
fix: restore provider auth and build checks
This commit is contained in:
@@ -46,10 +46,7 @@ export function resolvePluginSnapshotCacheTtlMs(env: NodeJS.ProcessEnv): number
|
||||
return Math.min(discoveryCacheMs, manifestCacheMs);
|
||||
}
|
||||
|
||||
export function buildPluginSnapshotCacheEnvKey(
|
||||
env: NodeJS.ProcessEnv,
|
||||
options: { includeProcessVitestFallback?: boolean } = {},
|
||||
) {
|
||||
export function buildPluginSnapshotCacheEnvKey(env: NodeJS.ProcessEnv) {
|
||||
return {
|
||||
OPENCLAW_BUNDLED_PLUGINS_DIR: env.OPENCLAW_BUNDLED_PLUGINS_DIR ?? "",
|
||||
OPENCLAW_DISABLE_PLUGIN_DISCOVERY_CACHE: env.OPENCLAW_DISABLE_PLUGIN_DISCOVERY_CACHE ?? "",
|
||||
@@ -61,8 +58,6 @@ export function buildPluginSnapshotCacheEnvKey(
|
||||
OPENCLAW_CONFIG_PATH: env.OPENCLAW_CONFIG_PATH ?? "",
|
||||
HOME: env.HOME ?? "",
|
||||
USERPROFILE: env.USERPROFILE ?? "",
|
||||
VITEST: options.includeProcessVitestFallback
|
||||
? (env.VITEST ?? process.env.VITEST ?? "")
|
||||
: (env.VITEST ?? ""),
|
||||
VITEST: env.VITEST ?? "",
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user