mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-25 18:51:41 +03:00
Use Range.emptyRange
This commit is contained in:
parent
9d0adae3b1
commit
c7c2335ac2
@ -3039,7 +3039,7 @@ elmReviewGlobalError { message, details } =
|
||||
, ruleName = ""
|
||||
, message = message
|
||||
, details = details
|
||||
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
|
||||
, range = Range.emptyRange
|
||||
, fixes = Nothing
|
||||
, target = Review.Error.UserGlobal
|
||||
}
|
||||
@ -3052,7 +3052,7 @@ globalError { message, details } =
|
||||
, ruleName = ""
|
||||
, message = message
|
||||
, details = details
|
||||
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
|
||||
, range = Range.emptyRange
|
||||
, fixes = Nothing
|
||||
, target = Review.Error.Global
|
||||
}
|
||||
@ -3069,7 +3069,7 @@ parsingError rawFile =
|
||||
, "I need this file to be fixed before analyzing the rest of the project. If I didn't, I would potentially report incorrect things."
|
||||
, "Hint: Try running `elm make`. The compiler should give you better hints on how to resolve the problem."
|
||||
]
|
||||
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
|
||||
, range = Range.emptyRange
|
||||
, fixes = Nothing
|
||||
, target = Review.Error.Module
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user