mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-20 04:27:25 +03:00
Print target function name
This commit is contained in:
parent
2da8367965
commit
362a192665
@ -210,7 +210,7 @@ finalProjectEvaluation target projectContext =
|
||||
|
||||
else
|
||||
[ Rule.globalError
|
||||
{ message = "Could not find " ++ String.join "." target.moduleName
|
||||
{ message = "Could not find " ++ String.join "." target.moduleName ++ "." ++ target.name
|
||||
, details =
|
||||
[ "I want to provide guarantees on the use of this function, but I can't find it. It is likely that it was renamed, which prevents me from giving you these guarantees."
|
||||
, "You should rename it back or update this rule to the new name. If you do not use the function anymore, remove the rule."
|
||||
|
Loading…
Reference in New Issue
Block a user