diff options
| author | ruki <[email protected]> | 2023-06-19 23:58:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-06-19 23:58:15 +0800 |
| commit | 58cb31c6d3de8360c51139fbf62ff17557e18bed (patch) | |
| tree | 06436519be4fae186a171b16662715e3a54e7d4b | |
| parent | d73dab6dfb18511ce3e51c3356c606c893f415f0 (diff) | |
improve readonly
| -rw-r--r-- | xmake/modules/private/action/require/info.lua | 2 |
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("") |
