Fix dialyzer warning
This commit is contained in:
parent
3a15ecc1ac
commit
63fd9ed7bc
@ -889,7 +889,7 @@ get_env_var(Prefix, Suffix, []) ->
|
||||
Prefix ++ Suffix.
|
||||
|
||||
|
||||
-spec line_length() -> non_neg_integer().
|
||||
-spec line_length() -> 0..?LINE_LENGTH.
|
||||
line_length() ->
|
||||
case io:columns() of
|
||||
{ok, Columns} when Columns < ?LINE_LENGTH ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user