Skip to content

Commit

Permalink
fix: Check for presence of file rather than absence
Browse files Browse the repository at this point in the history
  • Loading branch information
cpswan committed Oct 24, 2023
1 parent 543aee1 commit 27c3c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# update the requirements.txt, which is what we actually use to pull
# in our Python dependencies. So we need to run this to generate a
# new requirements.txt from the updated files.
if ! [ -f poetry.lock ]; then
if [ -f poetry.lock ]; then
rm poetry.lock
fi
poetry export --format requirements.txt --output requirements.txt
Expand Down

0 comments on commit 27c3c45

Please sign in to comment.