diff options
| author | ruki <[email protected]> | 2022-03-09 23:25:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-09 23:25:38 +0800 |
| commit | fa2e4a9a5f21a8819beafb99a85652d83b7e5429 (patch) | |
| tree | 8ae328914c4dd54012e0cf6cc013547acaa4caeb /core/src/xmake/path/absolute.c | |
| parent | 4eb65435961776fbefcc11ed774b778532c2c8dd (diff) | |
improve path.directory
Diffstat (limited to 'core/src/xmake/path/absolute.c')
| -rw-r--r-- | core/src/xmake/path/absolute.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/xmake/path/absolute.c b/core/src/xmake/path/absolute.c index b4baac03d..d8489d25f 100644 --- a/core/src/xmake/path/absolute.c +++ b/core/src/xmake/path/absolute.c @@ -45,10 +45,8 @@ tb_int_t xm_path_absolute(lua_State* lua) // get the root tb_char_t const* root = luaL_optstring(lua, 2, tb_null); - // done path:absolute(root) + // do path:absolute(root) tb_char_t data[TB_PATH_MAXN]; lua_pushstring(lua, tb_path_absolute_to(root, path, data, sizeof(data) - 1)); - - // ok return 1; } |
