aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-27 09:27:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-27 09:27:56 -0700
commit7d6783006aef81c580bbbbc9182c0c39ad5384c1 (patch)
tree44fb24a9f595cca82aff24c622520dedc961a319 /src/Text/Pandoc/App.hs
parentd98dde07c986287ae906dee2b2924335ae2c3572 (diff)
downloadpandoc-7d6783006aef81c580bbbbc9182c0c39ad5384c1.tar.gz
LogMessage: change UnknownExtension -> CouldNotDeduceFormat
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 12f5de537..8bdf12b69 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -141,7 +141,7 @@ convertWithOpts opts = do
Nothing | sources == ["-"] -> return "markdown"
| any isURI sources -> return "html"
| otherwise -> do
- report $ UnknownExtensions
+ report $ CouldNotDeduceFormat
(map takeExtension sources) "markdown"
return "markdown"