Skip to content

Commit

Permalink
Old which on circleci, fallback to command (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-andreas-koschinsky authored Dec 16, 2022
1 parent 5c448c1 commit 5a693bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ls_pre_commit_hooks/poetry-run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e

if ! which -s poetry; then
if ! [ -x "$(command -v poetry)" ]; then
echo 'poetry command not found'
echo 'See https://python-poetry.org/docs/#installation for installation instructions.'
exit 1
Expand Down

0 comments on commit 5a693bb

Please sign in to comment.