Add case expression

This commit is contained in:
Jeroen Engels 2023-06-03 21:17:30 +02:00
parent c78297f483
commit ce66fafdfe

View File

@ -194,7 +194,13 @@ reportError fileKey elmJsonVersion content =
Nothing ->
{ start = { row = 1, column = 1 }, end = { row = 1, column = String.length (List.head lines |> Maybe.withDefault "") + 1 } }
)
[]
(case unreleasedRange of
Just range ->
[]
Nothing ->
[]
)
findUnreleasedRange : List String -> Maybe Range