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

This commit is contained in:
Albert Krewinkel 2019-02-09 15:58:31 +01:00
parent 9a9c138d9c
commit ba61dc35d8
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

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