mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-26 01:07:34 +00:00
Updated to be compliant with SC2230: which is non-standard. Use builtin 'command -v' instead.
This commit is contained in:
parent
5212a990b1
commit
22372f10fa
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user