From eb588f62f6385df447af24338638983d82ab1d7b Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sun, 9 Dec 2018 14:59:36 -0800 Subject: [PATCH] Enable autofix support. It's still preliminary. --- src/ShellCheck/Formatter/TTY.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ShellCheck/Formatter/TTY.hs b/src/ShellCheck/Formatter/TTY.hs index a5d7490..2d6c010 100644 --- a/src/ShellCheck/Formatter/TTY.hs +++ b/src/ShellCheck/Formatter/TTY.hs @@ -130,8 +130,7 @@ outputForFile color sys comments = do putStrLn (color "source" line) mapM_ (\c -> putStrLn (color (severityText c) $ cuteIndent c)) commentsForLine putStrLn "" - -- FIXME: Enable when reasonably stable - -- showFixedString color comments lineNum line + showFixedString color comments lineNum line ) groups hasApplicableFix lineNum comment = fromMaybe False $ do