iban_violates_country_rule? fix
This commit is contained in:
parent
e7e6bbda29
commit
ce90960649
|
@ -123,7 +123,7 @@ defmodule IbanEx.Validator do
|
||||||
rule <- country_module.rule() do
|
rule <- country_module.rule() do
|
||||||
!Regex.match?(rule, bban)
|
!Regex.match?(rule, bban)
|
||||||
else
|
else
|
||||||
{:error, _error} -> true
|
_ -> true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue