Enable autofix support. It's still preliminary.

This commit is contained in:
Vidar Holen 2018-12-09 14:59:36 -08:00
parent bcd13614eb
commit eb588f62f6
1 changed files with 1 additions and 2 deletions

View File

@ -130,8 +130,7 @@ outputForFile color sys comments = do
putStrLn (color "source" line) putStrLn (color "source" line)
mapM_ (\c -> putStrLn (color (severityText c) $ cuteIndent c)) commentsForLine mapM_ (\c -> putStrLn (color (severityText c) $ cuteIndent c)) commentsForLine
putStrLn "" putStrLn ""
-- FIXME: Enable when reasonably stable showFixedString color comments lineNum line
-- showFixedString color comments lineNum line
) groups ) groups
hasApplicableFix lineNum comment = fromMaybe False $ do hasApplicableFix lineNum comment = fromMaybe False $ do