summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/info.lua2
1 files changed, 1 insertions, 1 deletions
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("")