mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-25 08:55:55 +00:00
T.P.Lua: properly indent module-loading error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user