diff --git a/scripts/bench/list-crates-with-bench.sh b/scripts/bench/list-crates-with-bench.sh index dbac517c2841..8dd0d5f9d6a8 100755 --- a/scripts/bench/list-crates-with-bench.sh +++ b/scripts/bench/list-crates-with-bench.sh @@ -3,4 +3,4 @@ set -eu WS_CRATES=$(./scripts/cargo/get-workspace-crates-json.sh) -echo "$WS_CRATES" | jq -r -c '[.[] | select(.targets[] | (.kind | contains(["bench"])) and .name != "swc_plugin_runner") | .name] | unique' +echo "$WS_CRATES" | jq -r -c '[.[] | select(.targets[] | .kind | contains(["bench"])) | .name] | sort | unique' | jq -r -c '[.[] | select(. != "swc_plugin_runner")]'