Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0
-
Microsoft Windows NT 10.0.19042.0 x64
-
-
bc6c900b15 (qt/qtdeclarative/dev) bc6c900b15 (qt/tqtc-qtdeclarative/dev)
Description
Hi.
For an unknown reason, everytime I'm using qmlformat with "--inplace" argument, it leaves some file behind.
C:\Qt\6.4.0\msvc2019_64\bin>qmlformat.exe qmlfmt_test/a.qml --verbose -i Dumping qmlfmt_test/a.qml Writing to file qmlfmt_test/a.qml
Then:
C:\Qt\6.4.0\msvc2019_64\bin>dir qmlfmt_test [...] 2022/10/16 17:12 <DIR> . 2022/10/16 17:12 <DIR> .. 2022/10/16 17:12 6 a.qml 2022/10/16 17:12 5 a.qml~
It seems qmlformat isn't removing the "a.qml~" it created for some reason.