mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
Infra: tighten createGlobalInstallEnv return type
This commit is contained in:
committed by
Onur Solmaz
parent
a32c4e43b4
commit
effda2a342
@@ -171,7 +171,7 @@ export function resolveGlobalInstallSpec(params: {
|
||||
|
||||
export async function createGlobalInstallEnv(
|
||||
env?: NodeJS.ProcessEnv,
|
||||
): Promise<NodeJS.ProcessEnv | undefined> {
|
||||
): Promise<Record<string, string>> {
|
||||
const pathPrepend = await resolvePortableGitPathPrepend(env);
|
||||
const merged = Object.fromEntries(
|
||||
Object.entries(env ?? process.env)
|
||||
|
||||
Reference in New Issue
Block a user