Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Sep 6, 2024
1 parent 5ca172f commit b1cbc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/flame/code_sync.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/flame/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b1cbc53

Please sign in to comment.