fix(nodetool): add_pathz -> add_patha

This commit is contained in:
Zaiming Shi 2021-06-15 14:48:09 +02:00
parent e010aa44b7
commit 6edfb9a6c5
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ add_libs_dir() ->
add_lib_dir(RootDir, Name, Vsn) ->
LibDir = filename:join([RootDir, lib, atom_to_list(Name) ++ "-" ++ Vsn, ebin]),
case code:add_pathz(LibDir) of
case code:add_patha(LibDir) of
true -> ok;
{error, _} -> error(LibDir)
end.