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 39e908b commit 3837f8cCopy full SHA for 3837f8c
lib/mix/lib/mix/dep.ex
@@ -536,7 +536,7 @@ defmodule Mix.Dep do
536
end
537
538
@doc """
539
- Returns `true` if dependency is a Gleam project.
+ Returns `true` if dependency is a Gleam project; otherwise returns `false`.
540
"""
541
def gleam?(%Mix.Dep{manager: manager}) do
542
manager == :gleam
lib/mix/lib/mix/gleam.ex
@@ -72,7 +72,7 @@ defmodule Mix.Gleam do
72
defp maybe_erlang_opts(config, opts) do
73
application =
74
opts
75
- |> Enum.filter(fn {_, value} -> value != nil end)
+ |> Enum.reject(fn {_, value} -> value == nil end)
76
|> Enum.map(fn
77
{"application_start_module", module} when is_binary(module) ->
78
{:mod, {String.to_atom(module), []}}
0 commit comments