summaryrefslogtreecommitdiff
path: root/xmake/core/base/utils.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-19 12:16:39 +0800
committerOpportunityLiu <[email protected]>2019-06-19 12:16:39 +0800
commit3af56e9fc4ac64992b3733d3bb4d9de25de23231 (patch)
treea931bafa5936f2713623ff08ee07790902fff559 /xmake/core/base/utils.lua
parent509475b2b68e420be7f915755806b3ec9bf7282f (diff)
move dump to utils
Diffstat (limited to 'xmake/core/base/utils.lua')
-rw-r--r--xmake/core/base/utils.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua
index 314dcaca7..d30ecfaa9 100644
--- a/xmake/core/base/utils.lua
+++ b/xmake/core/base/utils.lua
@@ -25,10 +25,14 @@ local utils = utils or {}
local option = require("base/option")
local colors = require("base/colors")
local string = require("base/string")
-local table = require("base/table")
local log = require("base/log")
local dump = require("base/dump")
+function utils.dump(value, indent)
+ dump(value, indent or "")
+ io.write("\n")
+end
+
-- print string with newline
function utils._print(...)