summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-30 11:47:46 +0800
committerGitHub <[email protected]>2017-04-30 11:47:46 +0800
commitfc7d61b345ed285d95fe4601b5876fa5877ef7a9 (patch)
tree6ae473bc89c6ffc37e7f032562cad95fd9ff4348
parent90d69cadfa5f5846e311876bfbd4a298c666fc8e (diff)
parent61ae623bda980eeb65f5f26c86e9a246a43b93cd (diff)
Merge pull request #77 from TitanSnow/reseteol
fix sandbox_utils.cprint no color reset eol
-rw-r--r--xmake/core/sandbox/modules/utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index b2d567015..80a21aef8 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -100,7 +100,7 @@ end
function sandbox_utils.cprint(format, ...)
-- done
- utils._iowrite(colors(vformat(format, ...) .. "\n"))
+ utils._iowrite(colors(vformat(format, ...)) .. "\n")
end
-- print format string, the builtin variables and colors without newline