Skip to content

Commit 3ccd5ac

Browse files
committed
Merge branch 'develop' of https://github.com/lyokato/aws_ex_ray into develop
2 parents 5395764 + cbefa9c commit 3ccd5ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/aws_ex_ray/record/error/cause.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ defmodule AwsExRay.Record.Error.Cause do
4747
end
4848

4949
defp cwd() do
50-
case System.cwd() do
51-
nil -> ""
52-
dir -> dir
50+
case File.cwd() do
51+
{:ok, dir} -> dir
52+
_ -> ""
5353
end
5454
end
5555

0 commit comments

Comments
 (0)