Skip to content

Commit

Permalink
nvim: use tool update instead of tool install
Browse files Browse the repository at this point in the history
dotnet is funny. `tool install` fails if the tool is already installed,
and the upstream issue (dotnet/sdk#9500) recommends using `update`
instead of `install`.
  • Loading branch information
fsouza committed Sep 12, 2021
1 parent 2ae4a80 commit 6d04242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/scripts/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ async def install_fsautocomplete() -> None:
print("skipping fsautocomplete")
return

await run_cmd("dotnet", ["tool", "install", "--global", "fsautocomplete"])
await run_cmd("dotnet", ["tool", "update", "--global", "fsautocomplete"])


async def setup_langservers(cache_dir: Path) -> None:
Expand Down

0 comments on commit 6d04242

Please sign in to comment.