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 28b1a9e commit d356b75Copy full SHA for d356b75
apps/elixir_ls_debugger/lib/debugger/server.ex
@@ -1397,6 +1397,7 @@ defmodule ElixirLS.Debugger.Server do
1397
1398
Output.debugger_console("Running with MIX_ENV: #{Mix.env()} MIX_TARGET: #{Mix.target()}\n")
1399
1400
+ Launch.ensure_no_slashes(task)
1401
Mix.Task.run("loadconfig")
1402
1403
# make sure ANSI is disabled
apps/elixir_ls_utils/lib/launch.ex
@@ -225,4 +225,10 @@ defmodule ElixirLS.Utils.Launch do
225
Mix.env(from_env("MIX_ENV", :dev))
226
Mix.target(from_env("MIX_TARGET", :host))
227
end
228
+
229
+ def ensure_no_slashes(task) do
230
+ if String.contains?(task, "/") do
231
+ raise Mix.NoTaskError, task: task
232
+ end
233
234
0 commit comments