From 7778679ae4c304f6388d80552aac0b893d5019da Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 21 Aug 2019 23:24:48 +0800 Subject: modify code styles --- xmake/modules/private/action/run/make_runenvs.lua | 5 ++--- 1 file 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 -- cgit v1.3.1