diff options
| author | ruki <[email protected]> | 2026-03-29 22:55:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-29 22:55:28 +0800 |
| commit | 8841ed9f7b427896f042abcfb3537dd731f6a923 (patch) | |
| tree | d2cb01d00f1873851e86199deef19dda20c43702 /xmake/modules/cli/amalgamate.lua | |
| parent | 1bccfc273af2b1d579d033324bca481e15c58653 (diff) | |
improve const limit codes
Diffstat (limited to 'xmake/modules/cli/amalgamate.lua')
| -rw-r--r-- | xmake/modules/cli/amalgamate.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua index 4f771807c..b76f60b6e 100644 --- a/xmake/modules/cli/amalgamate.lua +++ b/xmake/modules/cli/amalgamate.lua @@ -89,8 +89,7 @@ function _generate_file(target, inputpaths, outputpath, uniqueid) -- generate include graph local gh = graph.new(true) for idx, inputpath in ipairs(inputpaths) do - local inputpath = inputpath - inputpath = path.normalize(path.absolute(inputpath, os.projectdir())) + local inputpath = path.normalize(path.absolute(inputpath, os.projectdir())) inputpaths[idx] = inputpath gh:add_edge("__root__", inputpath) end |
