Skip to content

Commit

Permalink
Fix version output
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 1, 2024
1 parent eb26f9f commit a4e2a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,8 @@ for tool in "${tools[@]}"; do
case "${tool_bin_stem}" in
# biome up to 1.2.2 exits with 1 on both --version and --help flags.
# cargo-machete up to 0.6.0 does not support --version flag.
biome | cargo-machete) rx "${tool_bin_stem}" --version || true ;;
biome) rx "${tool_bin_stem}" --version || true ;;
cargo-machete) rx "${tool_bin_stem}" "${tool_bin_stem#cargo-}" --version || true ;;
# these packages support neither --version nor --help flag.
cargo-careful | wasm-bindgen-test-runner) ;;
# wasm2es6js does not support --version flag and --help flag doesn't contains version info.
Expand Down

0 comments on commit a4e2a0d

Please sign in to comment.