Skip to content

Commit a876351

Browse files
committed
fixup
1 parent f9583a1 commit a876351

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hack/clippy-package-features.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ echo "Testing $PACKAGE with default features..."
4646
for feature in $features; do
4747
if [[ -n "$REQUIRED_FEATURES" ]]; then
4848
echo "Testing $PACKAGE with feature: $REQUIRED_FEATURES,$feature"
49-
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$REQUIRED_FEATURES,$feature" --profile="$PROFILE" -- -D warnings || echo "Feature $feature failed for $PACKAGE")
49+
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$REQUIRED_FEATURES,$feature" --profile="$PROFILE" -- -D warnings)
5050
else
5151
echo "Testing $PACKAGE with feature: $feature"
52-
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$feature" --profile="$PROFILE" -- -D warnings || echo "Feature $feature failed for $PACKAGE")
52+
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$feature" --profile="$PROFILE" -- -D warnings)
5353
fi
5454
done
5555

@@ -58,9 +58,9 @@ if [[ -n "$features" ]]; then
5858
all_features=$(echo $features | tr '\n' ',' | sed 's/,$//')
5959
if [[ -n "$REQUIRED_FEATURES" ]]; then
6060
echo "Testing $PACKAGE with all features: $REQUIRED_FEATURES,$all_features"
61-
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$REQUIRED_FEATURES,$all_features" --profile="$PROFILE" -- -D warnings || echo "All features failed for $PACKAGE")
61+
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$REQUIRED_FEATURES,$all_features" --profile="$PROFILE" -- -D warnings)
6262
else
6363
echo "Testing $PACKAGE with all features: $all_features"
64-
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$all_features" --profile="$PROFILE" -- -D warnings || echo "All features failed for $PACKAGE")
64+
(set -x; cargo clippy -p "$PACKAGE" --all-targets --no-default-features --features "$all_features" --profile="$PROFILE" -- -D warnings)
6565
fi
6666
fi

0 commit comments

Comments
 (0)