Commit 7653d72
refactor(web): remove Record<string,string> cast in gitlabPushMrReviews
Now that oldPath/newPath are always plain strings, declare position
directly as DiscussionNotePosition and use a single conditional spread
for the optional oldLine field. Removes the redundant
`as unknown as DiscussionNotePosition` cast.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a57f68f commit 7653d72
1 file changed
Lines changed: 3 additions & 5 deletions
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | | - | |
| 101 | + | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
0 commit comments