MCPcopy
hub / github.com/garrytan/gstack / env

Function env

test/gstack-decision-semantic.test.ts:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 fs.chmodSync(p, 0o755);
75 }
76 function env(): NodeJS.ProcessEnv {
77 // Keep the real PATH so /usr/bin/env + bash resolve; prepend the shim dir.
78 return { PATH: `${binDir}:${process.env.PATH}`, HOME: homeDir };
79 }
80
81 beforeEach(() => {
82 binDir = fs.mkdtempSync(path.join(os.tmpdir(), "gbrain-shim-"));

Calls

no outgoing calls

Tested by

no test coverage detected