Skip to content

Commit fa7f27e

Browse files
Merge pull request #120 from LedgerHQ/cev/check_on_all_targets2
Fix loop to run check on all targets for Rust
2 parents 6d4386d + d1108c3 commit fa7f27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ call_step() {
225225
log_bold "********* Processing target: ${tgt}"
226226
eval BOLOS_SDK="$(echo "\$${tgt}" | tr '[:lower:]' '[:upper:]')_SDK"
227227
if [[ "${IS_RUST}" == true ]]; then
228-
COMMAND="(cd ${APP_DIR}/${BUILD_DIR} && cargo +$RUST_NIGHTLY clippy --target ${TARGET/nanosp/nanosplus} -- -Dwarnings)"
228+
COMMAND="(cd ${APP_DIR}/${BUILD_DIR} && cargo +$RUST_NIGHTLY clippy --target ${tgt/nanosp/nanosplus} -- -Dwarnings)"
229229
else
230230
COMMAND="make ${make_option[*]} ENABLE_SDK_WERROR=1 scan-build"
231231
fi

0 commit comments

Comments
 (0)