os.getenv should return nil for a missing env var
fbogsany opened this issue · 3 comments
fbogsany commented
According to the Lua reference manual, os.getenv
should return nil
if the env var doesn't exist. Instead it returns an empty string.
JackyChiu commented
Is this still an issue? Right now the function mapped to getenv
is returning a int
value, so are you referring to not not push the empty string into the state's stack and returning a 0
value?
fbogsany commented
This was fixed. Closing.