Commit 5dcac3e
committed
fix(cli): fix dev owners subdirectory path matching
Fixed 'No ownership data found' error when running dev owners
from subdirectories like packages/.
Root cause: File paths in topFiles are absolute (from database),
but subdirectory mode was comparing them against relative paths.
Solution: Normalize absolute paths by stripping repository prefix
before comparison, matching the approach used in root directory mode.1 parent 13cb5c2 commit 5dcac3e
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
484 | 487 | | |
485 | 488 | | |
486 | 489 | | |
| |||
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
501 | | - | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
502 | 508 | | |
503 | 509 | | |
504 | 510 | | |
| |||
0 commit comments