terraform: Make downloaded language server binary executable (#15171)
This PR updates the Terraform extension to make the downloaded language server binary executable. Resolves #14502. Release Notes: - N/A
This commit is contained in:
parent
6bff8ecb73
commit
c7e2d5bd89
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ impl TerraformExtension {
|
||||||
zed::download_file(&download_url, &version_dir, zed::DownloadedFileType::Zip)
|
zed::download_file(&download_url, &version_dir, zed::DownloadedFileType::Zip)
|
||||||
.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