Skip to content

Commit

Permalink
Merge pull request #1317 from szarnyasg/fix-vale-check
Browse files Browse the repository at this point in the history
Fix check for Vale binary
  • Loading branch information
Mause committed Oct 4, 2023
2 parents 07f706e + d4cb9b4 commit ad59267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad59267

Please sign in to comment.