Skip to content

Commit

Permalink
style(phone-number): remove useless whitespaces
Browse files Browse the repository at this point in the history
Pass `mix format --check-formatted`
  • Loading branch information
antoine-duchenet committed Sep 15, 2023
1 parent e53b7c8 commit 578fcfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/phone-number/.meta/example.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule PhoneNumber do

defp validate_length(number) do
length = String.length(number)

cond do
length < 10 -> {:error, "must not be fewer than 10 digits"}
length > 11 -> {:error, "must not be greater than 11 digits"}
Expand Down

0 comments on commit 578fcfb

Please sign in to comment.