mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
no tabs
This commit is contained in:
parent
7df0f0ab6e
commit
30029f3640
@ -114,10 +114,10 @@ writeToOutput output text =
|
||||
Nothing -> do
|
||||
lang <- lookupEnv "LANG"
|
||||
case lang of
|
||||
-- If LANG is set and isn't the empty string, leave the encoding.
|
||||
Just x | x /= "" -> pure ()
|
||||
-- Otherwise default to utf8.
|
||||
_ -> IO.hSetEncoding IO.stdout IO.utf8
|
||||
-- If LANG is set and isn't the empty string, leave the encoding.
|
||||
Just x | x /= "" -> pure ()
|
||||
-- Otherwise default to utf8.
|
||||
_ -> IO.hSetEncoding IO.stdout IO.utf8
|
||||
TextIO.hPutStrLn IO.stdout text
|
||||
Just path -> do
|
||||
isDir <- doesDirectoryExist path
|
||||
|
Loading…
Reference in New Issue
Block a user