Skip to content

Commit

Permalink
re-add debug cwd code to release.ex #172
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jan 5, 2022
1 parent c58c028 commit ced95bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/auth/release.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ defmodule Auth.Release do
{:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true))
end

# Run Seeds in Prod: https://github.com/dwyl/auth/issues/172#issuecomment-1005194147
IO.inspect(File.cwd!(), label: "cwd")
IO.inspect(File.ls!(File.cwd!()), label: "File.ls!(cwd)")
IO.inspect(__ENV__.file, label: "__ENV__.file")

IO.inspect(File.ls!("/app/lib/auth-1.6.5"), label: "File.ls!(/app/lib/auth-1.6.5)")
end

Expand Down

0 comments on commit ced95bc

Please sign in to comment.