Follow naming convention for Lua
This commit is contained in:
parent
25f3d22ca2
commit
4d59921aee
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue