cuberite / CuberitePluginChecker

Automated script for CI-checking Cuberite plugins
The Unlicense
3 stars 3 forks source link

lua: APIImpl/File.lua:48: attempt to index global 'utils' (a nil value) #24

Closed Seadragon91 closed 7 years ago

Seadragon91 commented 7 years ago

The table name in Utils.lua is util, I think that should be utils.

Edit: Found one more problem the function deleteFolderContents is recursive and the call should be then utils.deleteFolderContents(fullName) instead of deleteFolderContents(fullName).

NiLSPACE commented 7 years ago

I believe this will be fixed in #23

Seadragon91 commented 7 years ago

Don't see any changes there, but maybe they will come. Found a few more problems. I really recommend luacheck :-)

NiLSPACE commented 7 years ago

@xoft moved the loading of 'Utils.lua' before loading the other things.

madmaxoft commented 7 years ago

Both points are right and not yet addressed. So why don't you make a PR?