From 7f3e2e4aba7a318b3dd18a49f18db7045eea19f1 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Thu, 20 Feb 2025 14:28:05 +0100 Subject: [PATCH] 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 --- extensions/deno/src/deno.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/deno/src/deno.rs b/extensions/deno/src/deno.rs index 5431ae7a7a..7ef83574ab 100644 --- a/extensions/deno/src/deno.rs +++ b/extensions/deno/src/deno.rs @@ -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 {