From 5196d07b2a512d630c32bab1fd7ae767aef4136c Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 3 Jan 2020 23:02:02 +0800 Subject: fix log flush --- xmake/core/base/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1