diff options
| author | star-hengxing <[email protected]> | 2023-01-05 16:45:07 +0800 |
|---|---|---|
| committer | star-hengxing <[email protected]> | 2023-01-05 16:45:07 +0800 |
| commit | 934e6225195dd19cfdcffe8b7717f57018aa95e1 (patch) | |
| tree | 4478971800d56116d059d6ef8b0f25e20136fd20 | |
| parent | a0f3867e8536b187647f22e32e8e95aa4d69a508 (diff) | |
fix target run with single arguments
| -rw-r--r-- | xmake/actions/run/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua index 5c40fa801..f7d665ab2 100644 --- a/xmake/actions/run/main.lua +++ b/xmake/actions/run/main.lua @@ -54,7 +54,8 @@ function _do_run_target(target) end -- get run arguments - local args = option.get("arguments") or target:get("runargs") + local args = {} + table.join2(args, option.get("arguments") or target:get("runargs")) -- debugging? if option.get("debug") then |
