MCPcopy
hub / github.com/claude-code-best/claude-code / shouldMaintainProjectWorkingDir

Function shouldMaintainProjectWorkingDir

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

Source from the content-addressed store, hash-verified

109 * @returns true if CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR is set to a truthy value
110 */
111export function shouldMaintainProjectWorkingDir(): boolean {
112 return isEnvTruthy(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)
113}
114
115/**
116 * Check if running on Homespace (ant-internal cloud environment)

Callers 2

envUtils.test.tsFile · 0.90
resetCwdIfOutsideProjectFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.70

Tested by

no test coverage detected