chore: make sure path is binary

This commit is contained in:
Zhongwen Deng 2022-08-03 12:58:20 +08:00
parent a19514f000
commit fd7c97735d
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ get_stats(Node) ->
%% internal function %% internal function
format(_Node, Info = #{memory_total := Total, memory_used := Used}) -> format(_Node, Info = #{memory_total := Total, memory_used := Used}) ->
RootDir = code:root_dir(), RootDir = list_to_binary(code:root_dir()),
LogPath = LogPath =
case log_path() of case log_path() of
undefined -> undefined ->