Skip to content

Commit 6cbbcb3

Browse files
AnnatarHeclaude
andcommitted
fix(config): add missing merge logic for CodeTracking and LogCleanup
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 723e1f8 commit 6cbbcb3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

model/config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ func mergeConfig(base, local *ShellTimeConfig) {
9292
if local.SocketPath != "" {
9393
base.SocketPath = local.SocketPath
9494
}
95+
if local.CodeTracking != nil {
96+
base.CodeTracking = local.CodeTracking
97+
}
98+
if local.LogCleanup != nil {
99+
base.LogCleanup = local.LogCleanup
100+
}
95101
}
96102

97103
func (cs *configService) ReadConfigFile(ctx context.Context, opts ...ReadConfigOption) (config ShellTimeConfig, err error) {

0 commit comments

Comments
 (0)