Fixed nil value error introduced in #103
On line 19 of the updated MNCInstaller.lua, there was a condition in which tempfile may be nil, which would cause an error. This can be the case when you check for a file
before it is created. This was resolved by creating a check to ensure that tempfile is not nil before we attempt to read from it.
Performed general code cleaning
Cleaned up all dat derty code. Added spacing and moved requires to the head of the file.
Fixed nil value error introduced in #103 On line 19 of the updated MNCInstaller.lua, there was a condition in which tempfile may be nil, which would cause an error. This can be the case when you check for a file before it is created. This was resolved by creating a check to ensure that tempfile is not nil before we attempt to read from it.
Performed general code cleaning Cleaned up all dat derty code. Added spacing and moved requires to the head of the file.