25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

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

View File

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