Skip to content

Commit

Permalink
Maybe fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed May 31, 2024
1 parent 2940d1b commit 0a29174
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/flame/code_sync.ex
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,10 @@ defmodule FLAME.CodeSync do
|> Enum.uniq()
|> then(fn uniq_paths ->
if pkg.verbose, do: log_verbose("adding code paths: #{inspect(uniq_paths)}")
Code.delete_paths(uniq_paths)
uniq_paths
end)
|> Enum.reverse()
|> Code.prepend_paths(cache: false)
|> Code.prepend_paths(cache: true)
end

defp log_verbose(msg) do
Expand Down

0 comments on commit 0a29174

Please sign in to comment.