diff --git a/lib/flame/code_sync.ex b/lib/flame/code_sync.ex index a66c13a..71dd303 100644 --- a/lib/flame/code_sync.ex +++ b/lib/flame/code_sync.ex @@ -292,7 +292,7 @@ defmodule FLAME.CodeSync do def rm_packaged_stream(%PackagedStream{} = pkg) do case pkg.stream do - val when is_binary(val) or is_nil(val) -> :noop + val when is_list(val) or is_nil(val) -> :noop %File.Stream{path: path} -> File.rm(path) end diff --git a/lib/flame/runner.ex b/lib/flame/runner.ex index 5f68e79..31017f0 100644 --- a/lib/flame/runner.ex +++ b/lib/flame/runner.ex @@ -307,7 +307,7 @@ defmodule FLAME.Runner do } = new_runner ip_port = - if base_sync_stream && is_binary(base_sync_stream.stream) do + if base_sync_stream && base_sync_stream.eager do {:ok, listen_socket} = :gen_tcp.listen(0, [ :binary,