[Bugfix] Uncover cmd len warn (#6536)

* show warnings

* better error msg

* mypy ignore

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
Henrique Joaquim
2024-07-09 15:00:29 +01:00
committed by GitHub
parent 7c33152d3c
commit 82fa129388
7 changed files with 10 additions and 10 deletions

View File

@@ -379,9 +379,7 @@ class PlatformController(BaseController):
session.console.print(text=mt.menu_text, menu=self.PATH)
settings = session.settings
dev_mode = settings.DEBUG_MODE or settings.TEST_MODE
if mt.warnings and dev_mode:
if mt.warnings:
session.console.print("")
for w in mt.warnings:
w_str = str(w).replace("{", "").replace("}", "").replace("'", "")