diff --git a/scripts/lint.sh b/scripts/lint.sh index 71544ae9dc6..9c6ef3dcce8 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -16,7 +16,7 @@ npx markdownlint-cli docs/ dev/ _posts/ --config .markdownlint.jsonc --ignore do black scripts --skip-string-normalization $check || echo 'black failed' -if [[ ! -z $(which vale) ]]; then +if ! $(which vale); then echo "Vale binary not found, please install it from https://vale.sh/docs/vale-cli/installation/" exit 1 fi