We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a8e35 commit 5dd88a0Copy full SHA for 5dd88a0
justfile
@@ -110,8 +110,8 @@ bless *ARGS: (cargo-install "insta" "cargo-insta")
110
cargo-install $COMMAND $INSTALL_CMD="" *ARGS="":
111
#!/usr/bin/env sh
112
set -eu
113
- if [ ! command -v $COMMAND &> /dev/null ]; then
114
- if [ ! command -v cargo-binstall &> /dev/null ]; then
+ if ! command -v $COMMAND &> /dev/null; then
+ if ! command -v cargo-binstall &> /dev/null; then
115
echo "$COMMAND could not be found. Installing it with cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }}"
116
cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }}
117
else
0 commit comments