Can the same function be used in Darcs.UI.Commands.ShowAuthor instead of
Ratified.readFile ?
Also I would just go ahead and nuke that Ratified module, along with
contrib/darcs-errors.hlint . The idea is to suppress hlint Errors like
"avoid hGetContents" and "avoid Prelude.readFilen", but hlint is
currently throwing 10.000 warnings, and there is probably no general
rule of which ones to silent.
Maybe it would be better to comment the places where we use these
functions and say why file contents is guaranteed to be consumed in each
case.
|