deno: Make downloaded language server binary executable (#25252)

Closes #20347

This PR fixes the downloaded Deno LSP binary not being able to start by
marking it as executable.

Release Notes:

- N/A
This commit is contained in:
Finn Evers 2025-02-20 14:28:05 +01:00 committed by GitHub
parent 43f2e4c476
commit 7f3e2e4aba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,8 @@ impl DenoExtension {
)
.map_err(|e| format!("failed to download file: {e}"))?;
zed::make_file_executable(&binary_path)?;
let entries =
fs::read_dir(".").map_err(|e| format!("failed to list working directory {e}"))?;
for entry in entries {