summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-03 22:37:14 +0800
committerruki <[email protected]>2018-09-03 09:43:26 +0800
commitd8639b6713432cffe9f03bb12d83fc074ac54d7d (patch)
treea4bc28239022e180a478f687339103ed5e334362
parent3b7cbb55f26f2beff05c0c803ee20d27712a15ba (diff)
fix XMAKE_LOGFILE
-rw-r--r--xmake/core/ui/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/log.lua b/xmake/core/ui/log.lua
index e2922d3ae..a89073119 100644
--- a/xmake/core/ui/log.lua
+++ b/xmake/core/ui/log.lua
@@ -38,7 +38,7 @@ local log = log or (function ()
end
-- return module: log
- local instance = require("base/log")
+ local instance = table.inherit(require("base/log"))
if instance then
instance._FILE = nil
instance._LOGFILE = path.join(logdir, "ui.log")