mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-10-26 16:10:55 +03:00
Add case expression
This commit is contained in:
parent
c78297f483
commit
ce66fafdfe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user