diff --git a/src/infra/update-global.ts b/src/infra/update-global.ts index a7b1b7ac951..31bee8fb838 100644 --- a/src/infra/update-global.ts +++ b/src/infra/update-global.ts @@ -171,7 +171,7 @@ export function resolveGlobalInstallSpec(params: { export async function createGlobalInstallEnv( env?: NodeJS.ProcessEnv, -): Promise { +): Promise> { const pathPrepend = await resolvePortableGitPathPrepend(env); const merged = Object.fromEntries( Object.entries(env ?? process.env)