Skip to content

Commit

Permalink
add debug IO.inspect in write_env/2 #87 https://travis-ci.org/github/…
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jul 24, 2020
1 parent f03c050 commit b60522a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions priv/repo/seeds.exs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ defmodule Auth.Seeds do

# write the key:value pair to project .env file
def write_env(key, value) do
IO.inspect(File.cwd!)
path = File.cwd! <> "/.env"
IO.inspect(path, label: "path")
{:ok, data} = File.read(path)

lines = String.split(data, "\n")
Expand Down

0 comments on commit b60522a

Please sign in to comment.