Commit f165b8f
authored
fix(scan): suppress auto-manifest hint when .socket.facts.json exists (#1337)
* fix(scan): suppress auto-manifest hint when .socket.facts.json exists
The "Detected N manifest targets we could try to generate" hint in
`socket scan create` nudges users to pass --auto-manifest. Skip it when
a `.socket.facts.json` is already present at cwd — that file is the
output of `socket manifest auto` (or the per-ecosystem `--facts` mode),
the scan already picks it up via handle-create-new-scan, and the
suggestion is misleading in that state.
* style: swap em-dash for semicolon in auto-manifest hint comment1 parent c1987a9 commit f165b8f
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
446 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
447 | 456 | | |
448 | 457 | | |
449 | 458 | | |
| |||
0 commit comments