We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7ba8a commit 27c2d85Copy full SHA for 27c2d85
apps/elixir_ls_utils/lib/launch.ex
@@ -3,10 +3,13 @@ defmodule ElixirLS.Utils.Launch do
3
@compiled_otp_version System.otp_release()
4
5
def start_mix do
6
+ Mix.start()
7
# when running via mix install script mix starts and stops hex
8
# we need to make sure it's started
- Hex.start()
9
- Mix.start()
+ if function_exported?(Hex, :start, 0) do
10
+ Hex.start()
11
+ end
12
+
13
# FIXME: Private API
14
Mix.Local.append_archives()
15
0 commit comments