Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Oct 24, 2024
1 parent 3b086b6 commit 870226d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pipenv/routines/outdated.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ def do_outdated(project, pypi_mirror=None, pre=False, clear=False):
fg="yellow",
err=True,
)
if not outdated:
click.echo(click.style("All packages are up to date!", fg="green", bold=True))
sys.exit(0)
for package, old_version, new_version in outdated:
for package, old_version, new_version in set(outdated).union(set(skipped)):
click.echo(
f"Package {package!r} out-of-date: {old_version!r} installed, {new_version!r} available."
)
if not outdated:
click.echo(click.style("All packages are up to date!", fg="green", bold=True))
sys.exit(bool(outdated))

0 comments on commit 870226d

Please sign in to comment.