Downgrade `StatusView:get_items` deprecation message to warning

This commit is contained in:
Guldoman 2022-06-11 05:13:37 +02:00
parent 82915bb217
commit 99d328cfd7
No known key found for this signature in database
GPG Key ID: EA928C8BDA1A8825
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ end
---@return table right
function StatusView:get_items(nowarn)
if not nowarn and not self.get_items_warn then
core.error(
core.warn(
"Overriding StatusView:get_items() is deprecated, "
.. "use core.status_view:add_item() instead."
)