chore: make sure path is binary
This commit is contained in:
parent
a19514f000
commit
fd7c97735d
|
@ -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 ->
|
||||||
|
|
Loading…
Reference in New Issue