diff options
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/yasm.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index b0acd11de..4899b46c6 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -119,7 +119,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) end errors = errs end - os.raise(tostring(errors)) + raise(tostring(errors)) end } } 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 |
