Skip to content

Commit 2d6b8ff

Browse files
committed
fix: add parentheses to module.project
Avoids a runtime warning
1 parent dc10292 commit 2d6b8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/steps/patch/recompile_nifs.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ defmodule Burrito.Steps.Patch.RecompileNIFs do
5151
Enum.map(paths, fn {dep_name, path} ->
5252
Mix.Project.in_project(dep_name, path, fn module ->
5353
if module && Keyword.has_key?(module.project(), :compilers) do
54-
{dep_name, path, Enum.member?(module.project[:compilers], :elixir_make)}
54+
{dep_name, path, Enum.member?(module.project()[:compilers], :elixir_make)}
5555
else
5656
{dep_name, path, false}
5757
end

0 commit comments

Comments
 (0)