Commit 7bb21ea
committed
fix: Refine stub detection to avoid false positives on gRPC code
The previous check flagged any comment containing "stub", including
legitimate gRPC documentation like "# Create stub".
Updated the regex to only flag problematic patterns like:
- "stub implementation"
- "stub placeholder"
- "needs stub"
- "stub incomplete"
- "stub replace"
This preserves detection of incomplete work while allowing standard
gRPC terminology.1 parent 1e0e38c commit 7bb21ea
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments