mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-01 19:13:52 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if which codespell &>/dev/null; then
|
if command -v codespell &>/dev/null; then
|
||||||
echo "Running codespell"
|
echo "Running codespell"
|
||||||
echo "............................"
|
echo "............................"
|
||||||
codespell -B 1 --skip="*.log,*.html,*.txt,.git*,jsonDB-keyboard" -L "ba"
|
codespell -B 1 --skip="*.log,*.html,*.txt,.git*,jsonDB-keyboard" -L "ba"
|
||||||
|
Loading…
Reference in New Issue
Block a user