Skip to content

Commit

Permalink
Also print length
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 3, 2024
1 parent a4a4eb9 commit 28099ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _testing/gmod_testing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local code = [[local ret, err = pcall(function()
print("file.Size (garrysmod.ver) ", file.Size("garrysmod.ver", "MOD"))
print("file.Time (garrysmod.ver) ", file.Time("garrysmod.ver", "MOD"))
file.AsyncRead("garrysmod.ver", "MOD", function(fileName, gamePath, status, data)
print("file.AsyncRead callback called", data, status)
print("file.AsyncRead callback called", data, data:len(), status)
end)
Expand Down

0 comments on commit 28099ac

Please sign in to comment.