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
1 changed files with 1 additions and 1 deletions

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 "";
}