mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-26 03:04:48 +03:00
Use Range.emptyRange
This commit is contained in:
parent
9d0adae3b1
commit
c7c2335ac2
@ -3039,7 +3039,7 @@ elmReviewGlobalError { message, details } =
|
|||||||
, ruleName = ""
|
, ruleName = ""
|
||||||
, message = message
|
, message = message
|
||||||
, details = details
|
, details = details
|
||||||
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
|
, range = Range.emptyRange
|
||||||
, fixes = Nothing
|
, fixes = Nothing
|
||||||
, target = Review.Error.UserGlobal
|
, target = Review.Error.UserGlobal
|
||||||
}
|
}
|
||||||
@ -3052,7 +3052,7 @@ globalError { message, details } =
|
|||||||
, ruleName = ""
|
, ruleName = ""
|
||||||
, message = message
|
, message = message
|
||||||
, details = details
|
, details = details
|
||||||
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
|
, range = Range.emptyRange
|
||||||
, fixes = Nothing
|
, fixes = Nothing
|
||||||
, target = Review.Error.Global
|
, 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."
|
, "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."
|
, "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
|
, fixes = Nothing
|
||||||
, target = Review.Error.Module
|
, target = Review.Error.Module
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user