diff options
| -rw-r--r-- | xmake/modules/private/action/run/make_runenvs.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/modules/private/action/run/make_runenvs.lua b/xmake/modules/private/action/run/make_runenvs.lua index 91a6185d2..0f6bdd5d2 100644 --- a/xmake/modules/private/action/run/make_runenvs.lua +++ b/xmake/modules/private/action/run/make_runenvs.lua @@ -53,12 +53,12 @@ end function main(target) + -- check assert(target) + -- add run environments local set = {} local add = {} - - -- add run environments local runenvs = target:get("runenvs") if runenvs then for name, values in pairs(runenvs) do @@ -87,6 +87,5 @@ function main(target) table.append(pathenv, table.unpack(runpath)) end end - return add, set end |
