Skip to content

Commit

Permalink
fix lines
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Jul 17, 2019
1 parent 72dbe43 commit 595951d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xmake/core/sandbox/modules/io.lua
Expand Up @@ -53,6 +53,8 @@ if sandbox_io_file.__index ~= sandbox_io_file then
end
end
end
-- file:lines does not use its second return value for error
sandbox_io_file.lines = io.file.lines
end

-- get file size
Expand Down

0 comments on commit 595951d

Please sign in to comment.