Commit f59f6f2
committed
refactor(reach): drop redundant proxy env forwarding to coana
coana resolves HTTPS_PROXY/HTTP_PROXY itself (getProxyUrl in
utils/dashboard-api/axios-aux.ts) and we already pass the full parent env to the
coana subprocess, so copying HTTPS_PROXY into SOCKET_CLI_API_PROXY was a no-op.
Remove the forwarding and the now-unused 'proxy' parameter. SOCKET_CLI_VERSION and
SOCKET_CALLER_USER_AGENT are unaffected. SOCKET_CLI_API_PROXY (coana's highest-
precedence proxy override) is left to be wired from a future explicit --proxy flag.1 parent 9c9c6a7 commit f59f6f2
5 files changed
Lines changed: 13 additions & 19 deletions
File tree
- socketsecurity
- core/tools
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
259 | 257 | | |
260 | 258 | | |
261 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
94 | 90 | | |
95 | | - | |
96 | 91 | | |
97 | | - | |
| 92 | + | |
| 93 | + | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments