()
| 11 | import { getInitialSettings } from './settings/settings.js' |
| 12 | |
| 13 | export function shouldIncludeGitInstructions(): boolean { |
| 14 | const envVal = process.env.CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS |
| 15 | if (isEnvTruthy(envVal)) return false |
| 16 | if (isEnvDefinedFalsy(envVal)) return true |
| 17 | return getInitialSettings().includeGitInstructions ?? true |
| 18 | } |
no test coverage detected