diff options
-rw-r--r-- | pandoc.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1439,7 +1439,8 @@ convertWithOpts opts args = do mapM_ (warn . ("Ignoring: " ++)) xs liftIO $ B.readFile x - let runIO' f = do + let runIO' :: PandocIO a -> IO a + runIO' f = do (res, warnings) <- runIOorExplode $ do x <- f ws <- getWarnings |