summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-16 22:58:05 +0800
committerruki <[email protected]>2025-10-16 11:48:58 +0800
commit4253fdd36cf2b4de908466b24da608a865fe9400 (patch)
tree22ed9773fd818f64b35afe4fa7ccc5910cbab102
parentac6062dda4021036d3dc7868231f2e66becb3ebb (diff)
fix format
-rw-r--r--xmake/modules/private/xrepo/action/env.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua
index ddc7d5f96..b318e6031 100644
--- a/xmake/modules/private/xrepo/action/env.lua
+++ b/xmake/modules/private/xrepo/action/env.lua
@@ -399,7 +399,7 @@ function _run_shell(envs)
if shell == "pwsh" or shell == "powershell" then
os.execv("pwsh", args, {envs = envs})
elseif shell == "nu" then
- if #args ~=0 then
+ if #args ~= 0 then
table.insert(args, 1, "-c")
end
os.execv("nu", args, {envs = envs})