summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-10-16 22:33:11 +0800
committerruki <[email protected]>2017-10-16 09:19:07 +0800
commita08d6c9117e33b2742ce992f8217090bdcdd568f (patch)
tree72ab410c128845a802acdffe07e3d635954de7f6 /xmake/core/base/os.lua
parente6b23ffc316822a52b374e1c38dff738c7be6b91 (diff)
fix log bug
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index fd414b54b..ed840d02e 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -649,6 +649,9 @@ end
--
function os.raise(msg, ...)
+ -- flush log
+ log.flush()
+
-- raise it
if msg then
error(string.tryformat(msg, ...))