diff options
| author | OpportunityLiu <[email protected]> | 2019-07-02 10:12:56 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-02 10:12:56 +0800 |
| commit | 0261c0e50b59980f08cd8185bf2fb84e7248d104 (patch) | |
| tree | a7135a6534029e6fd89b4681fe9bf76c950f0775 /xmake/core/sandbox/modules/io.lua | |
| parent | 35dbc87a2c7e36e8cd3d6e81acd84ff3d5542ba8 (diff) | |
add some check
Diffstat (limited to 'xmake/core/sandbox/modules/io.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/io.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/sandbox/modules/io.lua b/xmake/core/sandbox/modules/io.lua index 2f467dd9b..044745cb6 100644 --- a/xmake/core/sandbox/modules/io.lua +++ b/xmake/core/sandbox/modules/io.lua @@ -207,11 +207,11 @@ function sandbox_io.print(filepath, ...) end -- print string to file -function sandbox_io.print(filepath, ...) +function sandbox_io.printf(filepath, ...) sandbox_io.writefile(filepath, vformat(...)) end --- cat the given file +-- cat the given file function sandbox_io.cat(filepath, linecount, opt) -- check @@ -224,7 +224,7 @@ function sandbox_io.cat(filepath, linecount, opt) io.cat(filepath, linecount, opt) end --- tail the given file +-- tail the given file function sandbox_io.tail(filepath, linecount, opt) -- check |
