diff options
| author | ruki <[email protected]> | 2019-08-21 23:24:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-21 14:28:50 +0800 |
| commit | 7778679ae4c304f6388d80552aac0b893d5019da (patch) | |
| tree | d7e7b6040c7902a937c5a3148d094c676ed48887 | |
| parent | bb8580531e75a4ebd190126c442b61fe319044e3 (diff) | |
modify code styles
| -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 |
