T.P.Lua: properly indent module-loading error

This commit is contained in:
Albert Krewinkel
2019-02-09 20:12:34 +01:00
parent 9a9c138d9c
commit ba61dc35d8
+1 -1
View File
@@ -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