mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
fix: bug where toLuaObject converts null to ""
This commit is contained in:
parent
95566f10fb
commit
40b985c066
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ in rec {
|
||||||
then "${toString args}"
|
then "${toString args}"
|
||||||
else if builtins.isInt args
|
else if builtins.isInt args
|
||||||
then "${toString args}"
|
then "${toString args}"
|
||||||
else if (args != null)
|
else if (args == null)
|
||||||
then "nil"
|
then "nil"
|
||||||
else "";
|
else "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue