summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-04 09:34:55 +0800
committerGitHub <[email protected]>2024-04-04 09:34:55 +0800
commit57c6672b056e72c4f48721a9512fb59c6aa9e2ee (patch)
treef3d74b9269a82bf822ee51c134114da556173a7b
parente86ea3e38d736fcad9aac44ca233660f0b5c8d37 (diff)
Update module.lua
-rw-r--r--xmake/core/sandbox/modules/import/core/sandbox/module.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/module.lua b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
index bddfb1524..b5a717327 100644
--- a/xmake/core/sandbox/modules/import/core/sandbox/module.lua
+++ b/xmake/core/sandbox/modules/import/core/sandbox/module.lua
@@ -241,7 +241,7 @@ function core_sandbox_module._build_module(moduleinfo)
if ok ~= 0 then
return nil, errors
end
- argv = {}
+ argv = {"-v"}
core_sandbox_module._add_builtin_argv(argv, projectdir)
ok, errors = os.execv(os.programfile(), argv, {envs = envs, curdir = projectdir})
if ok ~= 0 then