diff options
| author | ruki <[email protected]> | 2019-07-03 00:49:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-07-02 22:56:46 +0800 |
| commit | 789e43df6a5430db61fae2c2b268ab42376616e6 (patch) | |
| tree | 8a9b3018479173578ba3772496f4f79b5f5f0ba6 /xmake/core/base/io.lua | |
| parent | d2d5631acf568895010db3f2a1308a8871e945b0 (diff) | |
modify code style and fix fwscanf
Diffstat (limited to 'xmake/core/base/io.lua')
| -rw-r--r-- | xmake/core/base/io.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/core/base/io.lua b/xmake/core/base/io.lua index a6a2105a3..59d1b5d6a 100644 --- a/xmake/core/base/io.lua +++ b/xmake/core/base/io.lua @@ -29,7 +29,6 @@ local string = require("base/string") -- save original apis io._open = io._open or io.open - _file._read = _file._read or _file.read -- read data from file @@ -40,7 +39,6 @@ end -- read all lines from a file function _file:lines(opt) - opt = opt or {} return function() local l = self:read("l", opt) |
