formating better for spm packages
This commit is contained in:
+3
-3
@@ -106,7 +106,7 @@ local ok, err = xpcall(function()
|
||||
|
||||
local file = {}
|
||||
|
||||
function file:read(n)
|
||||
function file.read(n)
|
||||
assert(not closed, "file is closed")
|
||||
|
||||
local s = content()
|
||||
@@ -123,7 +123,7 @@ local ok, err = xpcall(function()
|
||||
return out
|
||||
end
|
||||
|
||||
function file:write(data)
|
||||
function file.write(data)
|
||||
assert(not closed, "file is closed")
|
||||
|
||||
local s = content()
|
||||
@@ -136,7 +136,7 @@ local ok, err = xpcall(function()
|
||||
return true
|
||||
end
|
||||
|
||||
function file:seek(whence, offset)
|
||||
function file.seek(whence, offset)
|
||||
assert(not closed, "file is closed")
|
||||
|
||||
local s = content()
|
||||
Reference in New Issue
Block a user