Skip to content

Commit

Permalink
Prune phx_new archive
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Oct 31, 2020
1 parent c2e5cf0 commit b097e81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions installer/mix.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
for path <- :code.get_path,
Regex.match?(~r/phx_new\-\d+\.\d+\.\d\/ebin$/, List.to_string(path)) do
Code.delete_path(path)
end

defmodule Phx.New.MixProject do
use Mix.Project

Expand Down

0 comments on commit b097e81

Please sign in to comment.