Skip to content

Commit fcf8508

Browse files
committed
fix: correct subprocess import for Deno installation
- Add missing subprocess import - Ensure proper shell command execution for piped install script
1 parent 09b719e commit fcf8508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lsp_client/clients/deno/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ async def ensure_installed(self) -> None:
155155
logger.warning("deno not found, attempting to install...")
156156

157157
try:
158+
# Use shell to execute the piped command
158159
await anyio.run_process(
159160
["sh", "-c", "curl -fsSL https://deno.land/install.sh | sh"]
160161
)

0 commit comments

Comments
 (0)