diff options
Diffstat (limited to 'xmake/core/sandbox/builtin/string.lua')
| -rw-r--r-- | xmake/core/sandbox/builtin/string.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmake/core/sandbox/builtin/string.lua b/xmake/core/sandbox/builtin/string.lua index 562e136f1..142842c5b 100644 --- a/xmake/core/sandbox/builtin/string.lua +++ b/xmake/core/sandbox/builtin/string.lua @@ -26,9 +26,11 @@ local string = require("base/string") -- define module local sandbox_builtin_string = sandbox_builtin_string or {} --- filter string -function sandbox_builtin_string.filter(format, ...) +-- format string with the builtin variables +function sandbox_builtin_string.vformat(format, ...) + -- done + return string.format(format, ...) end -- inherit the public interfaces of string |
