summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/yasm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/yasm.lua')
-rw-r--r--xmake/modules/core/tools/yasm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/yasm.lua b/xmake/modules/core/tools/yasm.lua
index 305403a5c..510e7bee6 100644
--- a/xmake/modules/core/tools/yasm.lua
+++ b/xmake/modules/core/tools/yasm.lua
@@ -98,7 +98,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags)
os.tryrm(objectfile)
-- raise compiling errors
- raise(errors)
+ raise(tostring(errors))
end
},
finally