MCPcopy Create free account
hub / github.com/Noumena-Network/code / shouldMaintainProjectWorkingDir

Function shouldMaintainProjectWorkingDir

src/utils/envUtils.ts:144–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 * compatibility alias is set to a truthy value
143 */
144export function shouldMaintainProjectWorkingDir(): boolean {
145 return isEnvTruthy(
146 process.env.NCODE_BASH_MAINTAIN_PROJECT_WORKING_DIR ??
147 process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR,
148 )
149}
150
151/**
152 * Check if running on Homespace (ant-internal cloud environment)

Callers 2

resetCwdIfOutsideProjectFunction · 0.85
envUtils.test.tsFile · 0.85

Calls 1

isEnvTruthyFunction · 0.70

Tested by

no test coverage detected