From 58cb31c6d3de8360c51139fbf62ff17557e18bed Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 19 Jun 2023 23:58:15 +0800 Subject: improve readonly --- xmake/modules/private/action/require/info.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/private/action/require/info.lua b/xmake/modules/private/action/require/info.lua index d3c98bbaf..398ed7638 100644 --- a/xmake/modules/private/action/require/info.lua +++ b/xmake/modules/private/action/require/info.lua @@ -235,7 +235,7 @@ function main(requires_raw) elseif configs_extra.type ~= nil and configs_extra.type ~= "string" then printf(" (type: %s)", configs_extra.type) end - if configs_extra.readonly ~= nil then + if configs_extra.readonly then printf(" (readonly)") end print("") -- cgit v1.3.1