Skip to content

Commit

Permalink
Update pip_compile_file_updater.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
avilaton authored Jul 13, 2024
1 parent 8c0b889 commit 01ba644
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,11 @@ def pip_compile_options(filename)

command = "pyenv exec pip-compile"
if (requirements_file = compiled_file_for_filename(filename)) &&
requirements_file.content.include?("autogenerated by uv")
command = "pyenv exec uv pip compile"
requirements_file.content.include?("autogenerated by uv")
command = "pyenv exec uv pip compile"
end

return options.join(" "), command
[options.join(" "), command]
end

def pip_compile_options_from_compiled_file(requirements_file)
Expand Down

0 comments on commit 01ba644

Please sign in to comment.