Skip to content

Commit

Permalink
T.P.Lua: properly indent module-loading error
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Feb 9, 2019
1 parent d318450 commit 8634a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Lua/Packages.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8634a26

Please sign in to comment.