Write hooks_type_test.erl to correct location

This commit is contained in:
Evgeny Khramtsov 2019-05-15 21:45:30 +03:00
parent 7a03a125aa
commit 7c16e29984
1 changed files with 2 additions and 2 deletions

View File

@ -245,8 +245,8 @@ integer_value(Form, State) ->
0
end.
emit_module(RunDeps, RunFoldDeps, Specs, Dir, Module) ->
File = filename:join([Dir, Module]) ++ ".erl",
emit_module(RunDeps, RunFoldDeps, Specs, _Dir, Module) ->
File = filename:join(["src", Module]) ++ ".erl",
try
{ok, Fd} = file:open(File, [write]),
write(Fd, "-module(~s).~n~n", [Module]),