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:
parent
43f2e4c476
commit
7f3e2e4aba
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ impl DenoExtension {
|
||||||
)
|
)
|
||||||
.map_err(|e| format!("failed to download file: {e}"))?;
|
.map_err(|e| format!("failed to download file: {e}"))?;
|
||||||
|
|
||||||
|
zed::make_file_executable(&binary_path)?;
|
||||||
|
|
||||||
let entries =
|
let entries =
|
||||||
fs::read_dir(".").map_err(|e| format!("failed to list working directory {e}"))?;
|
fs::read_dir(".").map_err(|e| format!("failed to list working directory {e}"))?;
|
||||||
for entry in entries {
|
for entry in entries {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue