Commit 5de8478
committed
chore(scan create): trim redundant comments and restore export order
Match the sibling `cmd-scan-*` convention of placing
`export const cmd*` immediately before `async function run`, and drop
comments that restated the code rather than explaining non-obvious
*why*. The one remaining comment on the misuse check keeps the
meow/yargs-parser coercion detail, which isn't derivable from reading
the code.1 parent 54f92cc commit 5de8478
2 files changed
Lines changed: 10 additions & 28 deletions
File tree
- packages/cli
- src/commands/scan
- test/unit/commands/scan
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 205 | | |
210 | 206 | | |
211 | 207 | | |
| |||
226 | 222 | | |
227 | 223 | | |
228 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 302 | | |
306 | 303 | | |
307 | 304 | | |
| |||
717 | 714 | | |
718 | 715 | | |
719 | 716 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | 1371 | | |
1376 | 1372 | | |
1377 | 1373 | | |
| |||
1392 | 1388 | | |
1393 | 1389 | | |
1394 | 1390 | | |
1395 | | - | |
1396 | | - | |
1397 | 1391 | | |
1398 | 1392 | | |
1399 | 1393 | | |
| |||
1405 | 1399 | | |
1406 | 1400 | | |
1407 | 1401 | | |
1408 | | - | |
1409 | | - | |
1410 | 1402 | | |
1411 | 1403 | | |
1412 | 1404 | | |
| |||
1433 | 1425 | | |
1434 | 1426 | | |
1435 | 1427 | | |
1436 | | - | |
1437 | 1428 | | |
1438 | 1429 | | |
1439 | 1430 | | |
| |||
0 commit comments