From b60522a15b76dda172eb3cd4e35527c31c1bc2fd Mon Sep 17 00:00:00 2001 From: nelsonic Date: Fri, 24 Jul 2020 23:08:42 +0100 Subject: [PATCH] add debug IO.inspect in write_env/2 #87 https://travis-ci.org/github/dwyl/auth/builds/711606595#L391 --- priv/repo/seeds.exs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/priv/repo/seeds.exs b/priv/repo/seeds.exs index dabc37ff..0ba4218a 100644 --- a/priv/repo/seeds.exs +++ b/priv/repo/seeds.exs @@ -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")