Merge pull request #5001 from zmstone/fix-nodetool-add-patha

fix(nodetool): add_pathz -> add_patha
This commit is contained in:
Zaiming (Stone) Shi 2021-06-15 20:07:48 +02:00 committed by GitHub
commit b4305a79eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.