Modify "byte" validator to allow 255

This commit is contained in:
Luke Bakken 2020-11-04 05:45:08 -08:00
parent 73b924fdbc
commit 873bdc9027
No known key found for this signature in database
GPG Key ID: D99DE30E43EAE440
1 changed files with 1 additions and 1 deletions

View File

@ -1756,7 +1756,7 @@ end}.
{validator, "byte", "Integer is not 0<=i<=255",
fun(Int) when is_integer(Int) ->
Int >= 0 andalso Int < 255
Int >= 0 andalso Int =< 255
end}.
{validator, "dir_writable", "Cannot create file in dir",