summaryrefslogtreecommitdiff
path: root/xmake/core/base/pipe.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 00:01:01 +0800
committerruki <[email protected]>2021-10-10 00:01:01 +0800
commitff96f6c08fcf72b44226626e1d04be60e92ac37c (patch)
tree772bc2adb964e9488ea54c59da642c59710c69b4 /xmake/core/base/pipe.lua
parent1af0820871a06217312fcee22b68e15954fc553a (diff)
fix some unpack
Diffstat (limited to 'xmake/core/base/pipe.lua')
-rw-r--r--xmake/core/base/pipe.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/pipe.lua b/xmake/core/base/pipe.lua
index 5f7c46c06..92ad42bc6 100644
--- a/xmake/core/base/pipe.lua
+++ b/xmake/core/base/pipe.lua
@@ -67,7 +67,7 @@ function _instance:write(data, opt)
return -1, errors
end
- -- data is bytes? unpack the raw address
+ -- data is bytes? table.unpack the raw address
local datasize = #data
if type(data) == "table" and data.caddr then
datasize = data:size()