Files
noctalia-shell/Bin/dev
mochou b692275c31 fix(qmlfmt): Add compatibility for qmlformat command
- Modifies Bin/dev/qmlfmt.sh to check for both 'qmlfmt' and 'qmlformat' executables.
- Uses 'qmlfmt' with its original arguments if found.
- If 'qmlfmt' is not found, uses 'qmlformat' with arguments for 2-space indentation and essential semicolons.
- Exits with an error if neither command is available.
- This makes the QML formatting pre-commit hook more robust.
2025-11-15 17:17:03 +08:00
..