From 815e804db78ebfd787b708195d2e371b07d1de1e Mon Sep 17 00:00:00 2001 From: xpxz <97490782+heheda123123@users.noreply.github.com> Date: Mon, 19 Jun 2023 13:39:16 +0800 Subject: Update info.lua --- xmake/modules/private/action/require/info.lua | 8 ++++---- 1 file 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 -- cgit v1.3.1