Commit 41c252a
committed
fix: address greptile P2 review comments
- Cache defaultCodeExtensions at module level in isCodeFile so callers
that pass no pre-built set avoid a per-call Set allocation
- Add motivation comment to scripts/run-vitest.mjs explaining why the
wrapper exists instead of invoking vitest directly
- Always assign runtimeOverrides in applyServerConfig even when empty,
so stale overrides don't persist if config hints are later removed1 parent 6298016 commit 41c252a
3 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1667 | 1667 | | |
1668 | 1668 | | |
1669 | 1669 | | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
| 1670 | + | |
| 1671 | + | |
1674 | 1672 | | |
1675 | 1673 | | |
1676 | 1674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
196 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
0 commit comments