summaryrefslogtreecommitdiff
path: root/xmake/actions/build/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-21 13:27:10 +0800
committerruki <[email protected]>2016-05-21 13:27:10 +0800
commit7c793cc7667d9bcc52715fa9c73bb9950d611b90 (patch)
treeb0fc4bd5ae19dad3a88cd897b26b98b1575242fb /xmake/actions/build/builder.lua
parentafc021e2d22fd6b7d8d4b5c7b6904835eef88686 (diff)
format errors for builder
Diffstat (limited to 'xmake/actions/build/builder.lua')
-rwxr-xr-xxmake/actions/build/builder.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/actions/build/builder.lua b/xmake/actions/build/builder.lua
index 8681a38aa..3ac966c3d 100755
--- a/xmake/actions/build/builder.lua
+++ b/xmake/actions/build/builder.lua
@@ -115,10 +115,7 @@ function _make_objects(target)
table.insert(finished, i)
else
-- resume it
- local ok, errors = coroutine.resume(job, job_index)
- if not ok then
- raise(errors)
- end
+ coroutine.resume(job, job_index)
end
end