fix: bug where toLuaObject converts null to ""

This commit is contained in:
Ching Pei Yang 2024-02-17 16:44:41 +01:00
parent 95566f10fb
commit 40b985c066
No known key found for this signature in database
GPG key ID: 062FBBCE1D0C5DD9

View file

@ -82,7 +82,7 @@ in rec {
then "${toString args}"
else if builtins.isInt args
then "${toString args}"
else if (args != null)
else if (args == null)
then "nil"
else "";
}