diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2021-02-02 11:37:10 -0500 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2021-02-02 11:37:10 -0500 |
commit | 2bfd44755ea9c18ee9fc48e775b97f0363c9acd4 (patch) | |
tree | 04bc03bceab7907d0aceca35fa92986af10cffe0 /.ci | |
parent | Change bash variable check (diff) | |
download | nheko-2bfd44755ea9c18ee9fc48e775b97f0363c9acd4.tar.xz |
Try to fix format script and fix linting
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/format.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/format.sh b/.ci/format.sh index f2d01cec..31eba878 100755 --- a/.ci/format.sh +++ b/.ci/format.sh @@ -14,13 +14,13 @@ do clang-format -i "$f" done; -QMLFORMAT_PATH=$(which qmlformat) +QMLFORMAT_PATH=$(command -v qmlformat) if [ -n "$QMLFORMAT_PATH" ]; then QML_FILES=$(find resources -type f -iname "*.qml") for f in $QML_FILES do - qmlformat -i "$f" + $QMLFORMAT_PATH -i "$f" done; else echo "qmlformat not found; skipping qml formatting" |