Commit 106aa13
refactor: address code review issues in publish command cleanup
- Remove unused agentBlueprintService parameter from CreateCommand signature
and its callsite in Program.cs (CR-001)
- Replace magic-number zip cap (4) and arbitrary file padding loop with a
clean LINQ expression over known candidate filenames (CR-002)
- Remove dead --verbose option binding in publish command handler; startup-
level --verbose in Program.cs continues to work (CR-003)
- Add CHANGELOG [Unreleased] entry for the breaking behavior change (CR-004)
- Remove redundant Console.SetIn call inside zip creation test; constructor
already sets it (CR-005)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 85d0c85 commit 106aa13
4 files changed
Lines changed: 9 additions & 39 deletions
File tree
- src
- Microsoft.Agents.A365.DevTools.Cli
- Commands
- Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
Lines changed: 5 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 68 | | |
73 | 69 | | |
74 | | - | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
| |||
217 | 212 | | |
218 | 213 | | |
219 | 214 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 215 | + | |
223 | 216 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
239 | 221 | | |
240 | 222 | | |
241 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 39 | | |
48 | 40 | | |
49 | 41 | | |
| |||
71 | 63 | | |
72 | 64 | | |
73 | 65 | | |
74 | | - | |
75 | 66 | | |
76 | 67 | | |
77 | 68 | | |
| |||
120 | 111 | | |
121 | 112 | | |
122 | 113 | | |
123 | | - | |
124 | 114 | | |
125 | 115 | | |
126 | 116 | | |
| |||
173 | 163 | | |
174 | 164 | | |
175 | 165 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 166 | | |
180 | 167 | | |
181 | 168 | | |
182 | | - | |
183 | 169 | | |
184 | 170 | | |
185 | 171 | | |
| |||
211 | 197 | | |
212 | 198 | | |
213 | 199 | | |
214 | | - | |
215 | 200 | | |
216 | 201 | | |
217 | 202 | | |
| |||
0 commit comments