summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-05 17:29:57 +0800
committerGitHub <[email protected]>2023-01-05 17:29:57 +0800
commita16ce4a3b1004a6d099971d80cc513f491c846b3 (patch)
tree13b52ff1ba4960e698150c1263ad89d09432f53e
parenta0f3867e8536b187647f22e32e8e95aa4d69a508 (diff)
parent46615017d4b095831546cf887e42daa368e1e90c (diff)
Merge pull request #3240 from star-hengxing/set_runargs
fix target run with single arguments
-rw-r--r--xmake/actions/run/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index 5c40fa801..e730bf246 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -54,7 +54,7 @@ function _do_run_target(target)
end
-- get run arguments
- local args = option.get("arguments") or target:get("runargs")
+ local args = table.wrap(option.get("arguments") or target:get("runargs"))
-- debugging?
if option.get("debug") then