Skip to content

Commit

Permalink
Update lib/flame/code_sync.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
chrismccord and josevalim authored Jun 17, 2024
1 parent ff93d12 commit 2f0fa47
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/flame/code_sync.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ defmodule FLAME.CodeSync do
])

copy_paths =
case Keyword.fetch(opts, :copy_paths) do
val when val in [{:ok, false}, :error] ->
[]

{:ok, paths} when is_list(paths) ->
case Keyword.get(opts, :copy_paths, false) do
paths when is_list(paths) ->
paths

{:ok, true} ->
false ->
[]

true ->
otp_lib = :code.lib_dir()

reject_apps =
Expand Down

0 comments on commit 2f0fa47

Please sign in to comment.