Commit d67b1eb
committed
fix: address PR review comments for positional args refactor
- Fix foundProject.organization?.slug bug (use orgSlug instead)
- Make formatMultipleProjectsFooter generic (not hardcoded to issue list)
- Fix ContextError misuse producing garbled messages:
- Use ValidationError for 'multiple orgs' error
- Use ValidationError for 'invalid target' error
- Use noun phrase 'Specific project' for OrgAll case
- Update dsn/errors.ts to use generic 'sentry <command>' in hints
- Update test expectations to match new messages1 parent 8c4efc3 commit d67b1eb
3 files changed
Lines changed: 21 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
137 | 124 | | |
138 | 125 | | |
| 126 | + | |
| 127 | + | |
139 | 128 | | |
140 | | - | |
| 129 | + | |
141 | 130 | | |
142 | | - | |
| 131 | + | |
143 | 132 | | |
144 | 133 | | |
145 | 134 | | |
| |||
207 | 196 | | |
208 | 197 | | |
209 | 198 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 199 | + | |
214 | 200 | | |
215 | 201 | | |
216 | 202 | | |
217 | 203 | | |
218 | 204 | | |
219 | 205 | | |
220 | 206 | | |
221 | | - | |
| 207 | + | |
222 | 208 | | |
223 | 209 | | |
224 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
0 commit comments