From ba61dc35d82daaefc60eaaf0f2e5401519a457bc Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 9 Feb 2019 15:58:31 +0100 Subject: T.P.Lua: properly indent module-loading error --- src/Text/Pandoc/Lua/Packages.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') 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 -- cgit v1.2.3