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 <jose.valim@dashbit.co>
  • Loading branch information
chrismccord and josevalim committed Jun 17, 2024
1 parent f8842a3 commit 336c0ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/flame/code_sync.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ defmodule FLAME.CodeSync do

reject_apps =
for app <- [:flame, :eex, :elixir, :ex_unit, :iex, :logger, :mix],
ebin = :code.lib_dir(app, :ebin),
is_list(ebin),
do: ebin
lib_dir = :code.lib_dir(app),
is_list(lib_dir),
do: :filename.join(lib_dir, ~c"ebin")

:code.get_path()
|> Kernel.--([~c"." | reject_apps])
Expand Down

0 comments on commit 336c0ba

Please sign in to comment.