diff options
| author | xpxz <[email protected]> | 2023-06-19 13:39:16 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-19 13:39:16 +0800 |
| commit | 815e804db78ebfd787b708195d2e371b07d1de1e (patch) | |
| tree | 643aace7bf1002ddd0827ef8eec04d89e0892e0e | |
| parent | 75ff24ce88100396c3a7c8dcd87afa190b8b402c (diff) | |
Update info.lua
| -rw-r--r-- | xmake/modules/private/action/require/info.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/private/action/require/info.lua b/xmake/modules/private/action/require/info.lua index d880ab9e5..fb6414a17 100644 --- a/xmake/modules/private/action/require/info.lua +++ b/xmake/modules/private/action/require/info.lua @@ -255,14 +255,14 @@ function main(requires_raw) printf(configs_extra.description) end if configs_extra.default ~= nil then - io.write(" (default: %s", configs_extra.default) + printf(" (default: %s", configs_extra.default) elseif configs_extra.type ~= nil and configs_extra.type ~= "string" then - io.write(" (type: %s", configs_extra.type) + printf(" (type: %s", configs_extra.type) end if configs_extra.readonly ~= nil then - io.write(", readonly)") + printf(", readonly)") else - io.write(")") + printf(")") end print("") if configs_extra.values then |
