mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 12:39:43 +00:00
chore: generate
This commit is contained in:
parent
5e9fb3cc90
commit
d2181e9273
1 changed files with 5 additions and 15 deletions
|
|
@ -714,21 +714,11 @@ export const CSharp: Info = {
|
||||||
|
|
||||||
if (Flag.OPENCODE_DISABLE_LSP_DOWNLOAD) return
|
if (Flag.OPENCODE_DISABLE_LSP_DOWNLOAD) return
|
||||||
log.info("installing roslyn-language-server via dotnet tool")
|
log.info("installing roslyn-language-server via dotnet tool")
|
||||||
const proc = Process.spawn(
|
const proc = Process.spawn(["dotnet", "tool", "install", "--global", "roslyn-language-server", "--prerelease"], {
|
||||||
[
|
|
||||||
"dotnet",
|
|
||||||
"tool",
|
|
||||||
"install",
|
|
||||||
"--global",
|
|
||||||
"roslyn-language-server",
|
|
||||||
"--prerelease",
|
|
||||||
],
|
|
||||||
{
|
|
||||||
stdout: "pipe",
|
stdout: "pipe",
|
||||||
stderr: "pipe",
|
stderr: "pipe",
|
||||||
stdin: "pipe",
|
stdin: "pipe",
|
||||||
},
|
})
|
||||||
)
|
|
||||||
const exit = await proc.exited
|
const exit = await proc.exited
|
||||||
if (exit !== 0) {
|
if (exit !== 0) {
|
||||||
log.error("Failed to install roslyn-language-server")
|
log.error("Failed to install roslyn-language-server")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue