Commit c72bfdd
committed
fix(scan): flatten SDK options and make repo parameter conditional
Fixes regression where SDK call was using old nested queryParams structure.
The SDK now expects flat options object per CreateFullScanOptions type.
Also makes repo parameter conditional - only includes when repoName is truthy,
fixing "Repo slug is required" errors when repoName is empty.1 parent eaaf859 commit c72bfdd
File tree
1 file changed
+9
-11
lines changed- packages/cli/src/commands/scan
1 file changed
+9
-11
lines changedLines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
0 commit comments