diff options
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
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}) |
