aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-02-09 15:58:31 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2019-02-09 20:12:34 +0100
commitba61dc35d82daaefc60eaaf0f2e5401519a457bc (patch)
tree3b770676105410ea4eab7185099676499cca1230 /src/Text/Pandoc/Lua
parent9a9c138d9cc228537780f83d4de825b3adfe6aa5 (diff)
downloadpandoc-ba61dc35d82daaefc60eaaf0f2e5401519a457bc.tar.gz
T.P.Lua: properly indent module-loading error
Diffstat (limited to 'src/Text/Pandoc/Lua')
-rw-r--r--src/Text/Pandoc/Lua/Packages.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Lua/Packages.hs b/src/Text/Pandoc/Lua/Packages.hs
index a651e9a9f..d1b679962 100644
--- a/src/Text/Pandoc/Lua/Packages.hs
+++ b/src/Text/Pandoc/Lua/Packages.hs
@@ -88,7 +88,7 @@ pandocPackageSearcher luaPkgParams pkgName =
case modScript of
Just script -> pushWrappedHsFun (loadStringAsPackage pkgName script)
Nothing -> do
- Lua.push ("no file '" ++ filename ++ "' in pandoc's datadir")
+ Lua.push ("\n\tno file '" ++ filename ++ "' in pandoc's datadir")
return 1
loadStringAsPackage :: String -> ByteString -> Lua NumResults