aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App
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
parentd98dde07c986287ae906dee2b2924335ae2c3572 (diff)
downloadpandoc-7d6783006aef81c580bbbbc9182c0c39ad5384c1.tar.gz
LogMessage: change UnknownExtension -> CouldNotDeduceFormat
Diffstat (limited to 'src/Text/Pandoc/App')
-rw-r--r--src/Text/Pandoc/App/OutputSettings.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/OutputSettings.hs b/src/Text/Pandoc/App/OutputSettings.hs
index ae78ba15e..744f4591f 100644
--- a/src/Text/Pandoc/App/OutputSettings.hs
+++ b/src/Text/Pandoc/App/OutputSettings.hs
@@ -75,7 +75,7 @@ optToOutputSettings opts = do
| otherwise ->
case formatFromFilePaths [outputFile] of
Nothing -> do
- report $ UnknownExtensions
+ report $ CouldNotDeduceFormat
[takeExtension outputFile] "html"
return ("html", Nothing)
Just f -> return (f, Nothing)