Commit b6c0ea4
authored
fix: improve socket fix error messages for misplaced IDs and missing directories (#1199)
* fix: improve socket fix error messages for misplaced IDs and missing directories
Detect when a GHSA/CVE/PURL identifier is passed as a positional argument
instead of with --id and show a helpful suggestion. Also validate the target
directory exists before making API calls.
Bump version to 1.1.83.
* chore: retrigger CI1 parent c06f2f5 commit b6c0ea4
4 files changed
Lines changed: 38 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
| 445 | + | |
448 | 446 | | |
449 | 447 | | |
450 | 448 | | |
| |||
737 | 735 | | |
738 | 736 | | |
739 | 737 | | |
740 | | - | |
741 | | - | |
742 | | - | |
| 738 | + | |
743 | 739 | | |
744 | 740 | | |
745 | 741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
403 | 432 | | |
404 | 433 | | |
405 | 434 | | |
| |||
416 | 445 | | |
417 | 446 | | |
418 | 447 | | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | 448 | | |
425 | 449 | | |
426 | 450 | | |
| |||
0 commit comments