Skip to content

Commit 57f6795

Browse files
committed
Merge branch 'ci-style'
2 parents c93367d + a13d982 commit 57f6795

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci/check-style

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ if git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} HEAD | grep
3939
exit 1
4040
fi
4141

42-
RUST_SOURCES=$(git --no-pager diff --diff-filter=d --name-only ${TARGET_BRANCH} HEAD | grep -E "^src/rust.*\.rs\$" | grep -v -E "^src/rust/vendor" || true)
42+
RUST_SOURCES=$(git ls-files | grep "^src/rust.*\.rs\$" | grep -v "^src/rust/vendor" | grep -v "^src/rust/bitbox02-rust/src/shiftcrypto\.bitbox02\.rs$")
4343
if [ -n "$RUST_SOURCES" ] ; then
44-
echo $RUST_SOURCES
4544
"$RUSTFMT" --check $RUST_SOURCES
4645
fi

0 commit comments

Comments
 (0)