Skip to content

Commit 5dd88a0

Browse files
committed
fix justfile
1 parent 81a8e35 commit 5dd88a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ bless *ARGS: (cargo-install "insta" "cargo-insta")
110110
cargo-install $COMMAND $INSTALL_CMD="" *ARGS="":
111111
#!/usr/bin/env sh
112112
set -eu
113-
if [ ! command -v $COMMAND &> /dev/null ]; then
114-
if [ ! command -v cargo-binstall &> /dev/null ]; then
113+
if ! command -v $COMMAND &> /dev/null; then
114+
if ! command -v cargo-binstall &> /dev/null; then
115115
echo "$COMMAND could not be found. Installing it with cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }}"
116116
cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }}
117117
else

0 commit comments

Comments
 (0)