diff options
| -rw-r--r-- | xmake/actions/build/cleaner.lua | 2 | ||||
| -rw-r--r-- | xmake/actions/build/statistics.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/build/cleaner.lua b/xmake/actions/build/cleaner.lua index db589491e..346f27efa 100644 --- a/xmake/actions/build/cleaner.lua +++ b/xmake/actions/build/cleaner.lua @@ -55,7 +55,7 @@ function cleanup() function () local proc = process.openv("xmake", argv, {outpath = path.join(os.tmpdir(), "cleaner.log")}) if proc ~= nil then - process.close(proc) + proc:close() end end } diff --git a/xmake/actions/build/statistics.lua b/xmake/actions/build/statistics.lua index 4edcfe187..5d7d518cc 100644 --- a/xmake/actions/build/statistics.lua +++ b/xmake/actions/build/statistics.lua @@ -85,7 +85,7 @@ function post() function () local proc = process.openv("xmake", argv, {outpath = path.join(os.tmpdir(), projectname .. ".stats.log")}) if proc ~= nil then - process.close(proc) + proc:close() end end } |
