From 5c8f634cfab5d0d667a6d1127451c585cdd342be Mon Sep 17 00:00:00 2001 From: Opportunity Date: Mon, 20 Jan 2020 20:26:19 +0800 Subject: fix io.cat --- xmake/core/base/io.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1