Skip to content

Commit

Permalink
fix(upgrade): actually listen to 'no_cache'
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvandernoord committed Apr 14, 2024
1 parent c8b5e77 commit ce7899e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uvx/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def upgrade_package(
# version = spec_metadata.requested_version or ("" if force else meta.requested_version)

options = []
if force:
if no_cache or force:
options.append("--no-cache")

upgrade_spec = base_pkg + version
Expand Down

0 comments on commit ce7899e

Please sign in to comment.