fix(dialyzer): remote the extra str/1
This commit is contained in:
parent
e41736f5cb
commit
cf3f2c3057
|
@ -179,11 +179,4 @@ basic_config(#{
|
||||||
}.
|
}.
|
||||||
|
|
||||||
clientid(Id) ->
|
clientid(Id) ->
|
||||||
list_to_binary(lists:concat([str(Id), ":", node()])).
|
list_to_binary(lists:concat([Id, ":", node()])).
|
||||||
|
|
||||||
str(A) when is_atom(A) ->
|
|
||||||
atom_to_list(A);
|
|
||||||
str(B) when is_binary(B) ->
|
|
||||||
binary_to_list(B);
|
|
||||||
str(S) when is_list(S) ->
|
|
||||||
S.
|
|
||||||
|
|
Loading…
Reference in New Issue