aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tprint/src/Main.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tprint/src/Main.hs b/tprint/src/Main.hs
index 4eb774c..8a534b8 100644
--- a/tprint/src/Main.hs
+++ b/tprint/src/Main.hs
@@ -129,5 +129,11 @@ tprint TPrint{ operation = DraftReplace{..}, ..} Client{..} _ = withPrintout inp
129 129
130tprint TPrint{ operation = DraftDelete{..}, ..} Client{..} _ = unless dryRun $ draftDelete draftId 130tprint TPrint{ operation = DraftDelete{..}, ..} Client{..} _ = unless dryRun $ draftDelete draftId
131 131
132tprint TPrint{ operation = DraftPrint{..}, ..} client@Client{..} out = do
133 let block'
134 | block = blockLoop client out
135 | otherwise = hPutStrLn out . show
136 unless dryRun $ block' =<< draftPrint draftId printer
137
132 138
133tprint _ _ _ = undefined 139tprint _ _ _ = undefined