Skip to content

Commit

Permalink
File.rm_rf!/1 seems to be async
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Nov 12, 2022
1 parent 4814827 commit ff2f01c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ defmodule Mix.Tasks.Compile.EvisionPrecompiled do
end

if File.exists?(generated_elixir_dir) do
# todo: async rm_rf?
# todo: is this async?
# File.rm_rf!(generated_elixir_dir)
end

Expand All @@ -619,8 +619,6 @@ defmodule Mix.Tasks.Compile.EvisionPrecompiled do
Logger.error(msg)
raise RuntimeError, msg
end

Process.sleep(1000)
end

def unarchive!(filepath, to_directory) do
Expand Down

0 comments on commit ff2f01c

Please sign in to comment.