mirror of
https://github.com/github/semantic.git
synced 2024-11-24 00:42:33 +03:00
Colourize --show output for terminals.
This commit is contained in:
parent
35c1cef725
commit
3e8a87968e
@ -187,7 +187,7 @@ runTaskF = interpret $ \ task -> case task of
|
||||
Semantic.Task.Diff terms -> pure (diffTermPair terms)
|
||||
Render renderer input -> pure (renderer input)
|
||||
Serialize format input -> do
|
||||
formatStyle <- asks (bool Colourful Plain . configIsTerminal)
|
||||
formatStyle <- asks (bool Plain Colourful . configIsTerminal)
|
||||
pure (runSerialize formatStyle format input)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user