Repository navigation
Commit 5e78a9d
committed
fix(codemod): handle mid-line strong directive and skip out/ directories
- withoutDirective: drop ^ anchor and m flag so the regex matches a
mid-line "use strong";\n inserted after a same-line block comment
- IGNORED_DIRS: add 'out' (standard tsc outDir) so scanSourceFiles
skips compiled output, restoring the behavior the local walker had1 parent 0adb0e9 commit 5e78a9d
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments