25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +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
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]),