summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/io.lua b/xmake/core/base/io.lua
index 103288288..0770436eb 100644
--- a/xmake/core/base/io.lua
+++ b/xmake/core/base/io.lua
@@ -673,7 +673,7 @@ function io.cat(filepath, linecount, opt)
for line in file:lines(opt) do
-- show line
- io.print(line)
+ io.write(line, "\n")
-- end?
if linecount and count >= linecount then