summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/complete.lua
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-19 09:52:19 +0800
committerOpportunity <[email protected]>2020-01-19 13:01:09 +0800
commitb22274761d5370abfcb868b001d72f0456e4a34d (patch)
tree92fcb5f78fa5554dc66572b1176da6be95503088 /xmake/modules/private/utils/complete.lua
parent03fde30e800970b004863d32ace885556d3346b4 (diff)
fix
Diffstat (limited to 'xmake/modules/private/utils/complete.lua')
-rw-r--r--xmake/modules/private/utils/complete.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/complete.lua b/xmake/modules/private/utils/complete.lua
index 781e98367..88b7d6ce4 100644
--- a/xmake/modules/private/utils/complete.lua
+++ b/xmake/modules/private/utils/complete.lua
@@ -282,7 +282,7 @@ function main(pos, config, ...)
_complete(argv, "")
else
local completing = table.remove(argv)
- _complete(argv, completing)
+ _complete(argv, completing or "")
end
end