diff options
| author | ruki <[email protected]> | 2017-04-02 17:19:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-04-02 17:19:29 +0800 |
| commit | 248b2cc8a96d41445a2e46d259d14fea8e4203ec (patch) | |
| tree | cf861f84510a014f46abd452c6ee5eb2411088fe /xmake | |
| parent | be424f5614c6d5f5afd526049cc4df2a4a866eba (diff) | |
fix io.printf bugv2.1.3
Diffstat (limited to 'xmake')
| -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 |
