remote: Don’t pass --method=GET to wget (#38771)

BusyBox's off brand `wget` does not have support for the `--method`
argument, which makes `zed` incapable of downloading the remote server
unless the _☙authentic❧_ one is installed. Removing this should fix the
issue. Couldn't find much about guidelines on how the code is supposed
to be formatted, so I opted for commenting the line out with an
explanation.

Closes #38712

Release Notes:

- Fixed remote development on BusyBox
This commit is contained in:
313838373473747564656e74766775
2025-09-25 14:59:04 +00:00
committed by GitHub
parent 50bb8a4ae6
commit bc7d804a42
-1
View File
@@ -558,7 +558,6 @@ impl SshRemoteConnection {
.run_command(
"wget",
&[
"--method=GET",
"--header=Content-Type: application/json",
"--body-data",
body,