MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / applyLoginShellPathFromNode

Function applyLoginShellPathFromNode

packages/kaos/src/login-shell-path.ts:153–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151let appliedLoginShellPath: Promise<void> | undefined;
152
153export function applyLoginShellPathFromNode(): Promise<void> {
154 if (appliedLoginShellPath !== undefined) return appliedLoginShellPath;
155 appliedLoginShellPath = applyLoginShellPath({
156 platform: process.platform,
157 env: process.env as Record<string, string | undefined>,
158 userShell: userShellFromNode,
159 execFileText,
160 });
161 return appliedLoginShellPath;
162}

Callers 1

createMethod · 0.90

Calls 1

applyLoginShellPathFunction · 0.85

Tested by

no test coverage detected