diff --git a/Makefile.toml b/Makefile.toml index f60b624f19c0b..02cb42aca1fd5 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1098,7 +1098,7 @@ script = """ #!/usr/bin/env bash echo "Running $(tput setaf 4)cargo clippy$(tput sgr0) checks" -cargo clippy --all-targets ${RISINGWAVE_FEATURE_FLAGS} +cargo clippy $@ ${RISINGWAVE_FEATURE_FLAGS} echo "If cargo clippy check failed or generates warning, you may run $(tput setaf 4)cargo clippy --workspace --all-targets --fix$(tput sgr0) to fix it. Note that clippy fix requires manual review, as not all auto fixes are guaranteed to be reasonable." echo "Alternately, you may run $(tput setaf 4)./risedev cf {package_names}$(tput sgr0) to fix those packages (e.g. frontend, meta)." """