summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>2019-07-09 15:34:16 +0200
committerEric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>2019-07-09 18:18:14 +0200
commit6c3eec568753c68617a684e461d6b9dffc2125ab (patch)
tree54e90bc2363247a9f3258f4a0ce00d532148ccbd
parent1c777b902546cb26a1cc8e865849f98f832c675f (diff)
downloadelixir-6c3eec568753c68617a684e461d6b9dffc2125ab.tar.gz
Update lib/elixir/lib/module/parallel_checker.ex
Co-Authored-By: José Valim <jose.valim@gmail.com>
-rw-r--r--lib/elixir/lib/module/parallel_checker.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/module/parallel_checker.ex b/lib/elixir/lib/module/parallel_checker.ex
index 46527bad8..c440e3d96 100644
--- a/lib/elixir/lib/module/parallel_checker.ex
+++ b/lib/elixir/lib/module/parallel_checker.ex
@@ -151,7 +151,7 @@ defmodule Module.ParallelChecker do
spawned: state.spawned - 1
}
- if state.spawned == 0 and state.modules == [] and !!state.reply_when_finished do
+ if state.spawned == 0 and state.modules == [] and not state.reply_when_finished do
:gen_server.reply(state.reply_when_finished, {state.binaries, state.warnings})
{:noreply, state}
else