Unbreak the pip-compile command when multiple files are passed in (#14875)

This commit is contained in:
Jeff Bradberry 2024-02-13 15:59:04 -05:00 committed by GitHub
parent b0565e9937
commit 38424487f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ generate_requirements() {
# FIXME: https://github.com/jazzband/pip-tools/issues/1558
${venv}/bin/python3 -m pip install -U 'pip<22.0' pip-tools
${pip_compile} "$1" --output-file requirements.txt
${pip_compile} $1 --output-file requirements.txt
# consider the git requirements for purposes of resolving deps
# Then remove any git+ lines from requirements.txt
if [[ "$sanitize_git" == "1" ]] ; then