summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-01-03 23:02:02 +0800
committerruki <[email protected]>2020-01-03 12:12:17 +0800
commit5196d07b2a512d630c32bab1fd7ae767aef4136c (patch)
tree09b6b90b5fa6407d422b03dbc078072b76ff8720
parent69f0f22c8b2439c8d64d5cf5074b1c3605170bf0 (diff)
fix log flush
-rw-r--r--xmake/core/base/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/log.lua b/xmake/core/base/log.lua
index f3a9dba2b..35f480237 100644
--- a/xmake/core/base/log.lua
+++ b/xmake/core/base/log.lua
@@ -80,7 +80,7 @@ end
function log:flush()
local file = self:file()
if file then
- io.flush(file)
+ file:flush()
end
end