diff options
Diffstat (limited to 'xmake/core/sandbox/modules/io.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/io.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/io.lua b/xmake/core/sandbox/modules/io.lua index bc01f696c..7ca5a4def 100644 --- a/xmake/core/sandbox/modules/io.lua +++ b/xmake/core/sandbox/modules/io.lua @@ -176,14 +176,14 @@ end function sandbox_io.print(filepath, ...) -- print it - sandbox_io.write(filepath, vformat(...) .. "\n") + sandbox_io.writefile(filepath, vformat(...) .. "\n") end -- print data to file function sandbox_io.printf(filepath, ...) -- print it - sandbox_io.write(filepath, vformat(...)) + sandbox_io.writefile(filepath, vformat(...)) end -- printf file |
