Downgrade StatusView:get_items deprecation message to warning
This commit is contained in:
@@ -606,7 +606,7 @@ end
|
|||||||
---@return table right
|
---@return table right
|
||||||
function StatusView:get_items(nowarn)
|
function StatusView:get_items(nowarn)
|
||||||
if not nowarn and not self.get_items_warn then
|
if not nowarn and not self.get_items_warn then
|
||||||
core.error(
|
core.warn(
|
||||||
"Overriding StatusView:get_items() is deprecated, "
|
"Overriding StatusView:get_items() is deprecated, "
|
||||||
.. "use core.status_view:add_item() instead."
|
.. "use core.status_view:add_item() instead."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user