1
Fork 0

Follow naming convention for Lua

This commit is contained in:
Jake Howard 2018-04-02 22:52:27 +01:00
parent 25f3d22ca2
commit 4d59921aee
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
function file_exists(name)
function fileExists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
end
@ -13,7 +13,7 @@ end
return {
{
Meta = function(meta)
if file_exists("output.pdf") then
if fileExists("output.pdf") then
meta["wordcount"] = countWords()
meta["secondpass"] = true
end