summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-14 11:55:27 +0800
committerGitHub <[email protected]>2023-09-14 11:55:27 +0800
commit7baaf562bcaf1fddceafd86239aec38b5573114a (patch)
tree065006002b5a13250face0ac28f1ac744a91eefe /xmake/plugins/lua
parent7f8321f74261cdb39c9ce0c3ecab6a8e28cfda28 (diff)
parent8e9c85e41429cc71d2bed2c6cc454982d8e3621f (diff)
Merge pull request #4200 from xmake-io/xmakesrc
Support to remote debug xmake source code
Diffstat (limited to 'xmake/plugins/lua')
-rw-r--r--xmake/plugins/lua/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/lua/main.lua b/xmake/plugins/lua/main.lua
index 437d69870..2b7a9fa4b 100644
--- a/xmake/plugins/lua/main.lua
+++ b/xmake/plugins/lua/main.lua
@@ -162,7 +162,8 @@ end
function main()
-- do action for remote if we are in the project directory?
- if os.isfile(project.rootfile()) and remote_build_action.enabled() then
+ if os.isfile(project.rootfile()) and remote_build_action.enabled()
+ and xmake.argv()[2] ~= "private.utils.complete" then
return remote_build_action()
end