mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-06 15:07:52 +08:00
Fix string_to_quoted call on Elixir main
This commit is contained in:
parent
21041aa182
commit
e02591f8bb
1 changed files with 5 additions and 1 deletions
6
mix.exs
6
mix.exs
|
@ -127,7 +127,11 @@ defmodule Livebook.MixProject do
|
||||||
defp target_deps(_), do: []
|
defp target_deps(_), do: []
|
||||||
|
|
||||||
@lock (with {:ok, contents} <- File.read("mix.lock"),
|
@lock (with {:ok, contents} <- File.read("mix.lock"),
|
||||||
{:ok, quoted} <- Code.string_to_quoted(contents, warn_on_unnecessary_quotes: false),
|
{:ok, quoted} <-
|
||||||
|
Code.string_to_quoted(contents,
|
||||||
|
warn_on_unnecessary_quotes: false,
|
||||||
|
emit_warnings: false
|
||||||
|
),
|
||||||
{%{} = lock, _binding} <- Code.eval_quoted(quoted, []) do
|
{%{} = lock, _binding} <- Code.eval_quoted(quoted, []) do
|
||||||
for {dep, hex} when elem(hex, 0) == :hex <- lock,
|
for {dep, hex} when elem(hex, 0) == :hex <- lock,
|
||||||
do: {dep, elem(hex, 2)},
|
do: {dep, elem(hex, 2)},
|
||||||
|
|
Loading…
Reference in a new issue