Commit b4ab525
committed
fix(comments): ensure filePath has leading slash for inline comments
Without a leading / in filePath, Azure DevOps does not set
changeTrackingId on the thread. This causes the web UI to show
'This file no longer exists in the latest pull request changes'
even though the file exists.
Verified against real Azure DevOps API:
- Without leading /: changeTrackingId is MISSING
- With leading /: changeTrackingId is set correctly
Added ensure_leading_slash/1 helper to normalize user input.1 parent dd65ce7 commit b4ab525
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | 1195 | | |
| |||
2100 | 2103 | | |
2101 | 2104 | | |
2102 | 2105 | | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
2103 | 2110 | | |
2104 | 2111 | | |
2105 | 2112 | | |
| |||
2110 | 2117 | | |
2111 | 2118 | | |
2112 | 2119 | | |
2113 | | - | |
| 2120 | + | |
2114 | 2121 | | |
2115 | 2122 | | |
2116 | 2123 | | |
2117 | 2124 | | |
2118 | 2125 | | |
2119 | 2126 | | |
2120 | 2127 | | |
2121 | | - | |
| 2128 | + | |
2122 | 2129 | | |
2123 | 2130 | | |
2124 | 2131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
| 1024 | + | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
| |||
0 commit comments