diff options
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/os/args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/os/args.c b/core/src/xmake/os/args.c index 567d70d30..0f907bb8a 100644 --- a/core/src/xmake/os/args.c +++ b/core/src/xmake/os/args.c @@ -120,7 +120,7 @@ tb_int_t xm_os_args(lua_State* lua) // return result tb_size_t size = tb_string_size(&result); if (size) lua_pushlstring(lua, tb_string_cstr(&result), size); - else lua_pushnil(lua); + else lua_pushliteral(lua, ""); tb_string_exit(&result); return 1; } |
