qtdeclarative/tests/auto/qml/qmlformat
Semih Yavuz f3a6026d11 qmlformat: fix error message output
We don't need m_valid to check if there is an error. Do validity check
by m_error.isEmpty().

Prior to this commit, an invalid command line option given to qmlformat
wouldn't spit out the error message and qmlformat would silently ignore
the error and run with default settings. For example, the command
qmlformat -W -342523 <filepath> should error out with this commit since
a negative line length is given.

Change-Id: Ie7d07e3b2b3714793f9abed4558003cc5ad77b34
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2025-01-09 16:19:04 +01:00
..
data qmlformat: respect the type annotated signal form 2024-09-03 09:03:23 +00:00
CMakeLists.txt Increase CTest timeout for tst_qmlformat 2023-10-19 16:52:32 +02:00
tst_qmlformat.cpp qmlformat: fix error message output 2025-01-09 16:19:04 +01:00