diff options
author | Vidar Holen <spam@vidarholen.net> | 2018-12-09 14:59:36 -0800 |
---|---|---|
committer | Vidar Holen <spam@vidarholen.net> | 2018-12-09 15:01:08 -0800 |
commit | eb588f62f6385df447af24338638983d82ab1d7b (patch) | |
tree | 77a77db37d6291b15fd86b4451ef36993a86fb6e | |
parent | bcd13614ebf026774fb5c2e9ae47236648704aac (diff) |
Enable autofix support. It's still preliminary.
-rw-r--r-- | src/ShellCheck/Formatter/TTY.hs | 3 |
1 files changed, 1 insertions, 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 |