Commit 0bfac64
committed
refactor config resolver to track logged configs per entry instead of per target to prevent duplicate logging
- Changed isFirstTimeLogging to isFirstTimeLoggingTarget to clarify it only controls chain hierarchy logging
- Moved loggedConfigs.add() from after chain logging to inside merge loop after each config resolution
- Changed merge loop logging condition from isFirstTimeLogging to !this.loggedConfigs.has(entry.path)
- Ensures each config in chain is logged only once across all resolutions, not just1 parent d608334 commit 0bfac64
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
152 | 151 | | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments