From 718dd27e4a2a71175782e4e69e03eb1a9bcfca66 Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Fri, 18 Oct 2019 17:19:11 -0400 Subject: [PATCH] need to use pPrintNoColor for no color option --- semantic-ast/src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic-ast/src/Main.hs b/semantic-ast/src/Main.hs index d8c29ed54..ff1a09e78 100644 --- a/semantic-ast/src/Main.hs +++ b/semantic-ast/src/Main.hs @@ -12,7 +12,7 @@ import Data.ByteString (pack, readFile, ByteString) import System.IO (FilePath) import Options.Applicative hiding (style) import Data.Semigroup ((<>)) -import Text.Pretty.Simple (pPrint) +import Text.Pretty.Simple (pPrint, pPrintNoColor) data SemanticAST = SemanticAST { format :: Format