Skip to content

Commit 0977602

Browse files
author
José Valim
committed
Create consolidation directory before writing to it
1 parent ee86a5c commit 0977602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/test/elixir/protocol_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ end
159159

160160
## Those protocols needs to be the same as above.
161161
path = Path.expand("../ebin", __DIR__)
162+
File.mkdir_p!(path)
162163

163164
compile = fn { :module, module, binary, _ } ->
164165
:code.purge(module)

0 commit comments

Comments
 (0)