diff options
| author | ruki <[email protected]> | 2019-05-23 00:49:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-05-22 22:59:33 +0800 |
| commit | af7907d7adc0c60930477730876f0ed74d3a9f5a (patch) | |
| tree | 4ceea76f5296c5a7d0851553a95ff33c1f2d5013 /xmake/core/base/string.lua | |
| parent | 744ce235235533e695430daa1f96cbd35c69ac01 (diff) | |
improve trycall
Diffstat (limited to 'xmake/core/base/string.lua')
| -rw-r--r-- | xmake/core/base/string.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/string.lua b/xmake/core/base/string.lua index 5aabba734..b27d076d5 100644 --- a/xmake/core/base/string.lua +++ b/xmake/core/base/string.lua @@ -205,7 +205,7 @@ function string.tryformat(format, ...) if ok then return str else - return format + return tostring(format) end end |
