Updated to be compliant with SC2230: which is non-standard. Use builtin 'command -v' instead.

This commit is contained in:
David Coomber 2020-09-06 18:53:26 +02:00
parent 8e4623acea
commit 1b7f64db6b
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ else
exit 1
fi
if which codespell &>/dev/null; then
if command -v codespell &>/dev/null; then
echo "Running codespell"
echo "............................"
codespell -B 1 --skip="*.log,*.html,*.txt,.git*,jsonDB-keyboard" -L "ba"